public function setUp() { $this->connection = $this->prophesize(ConnectionInterface::class); $this->topic = new \TopicStub($this->connection->reveal(), 'my-awesome-project', self::TOPIC, false); }