public function setUp() { $this->connection = $this->prophesize(ConnectionInterface::class); $this->topic = new TopicStub($this->connection->reveal(), 'project-name', 'topic-name', true); }