public function setUp() { $this->connection = $this->prophesize(ConnectionInterface::class); $logger = new Logger($this->connection->reveal(), 'my-log', 'my-awesome-project'); $this->psr = new PsrLoggerStub($logger); }