public function testDelete() { $this->connection->deleteTopic(Argument::withEntry('foo', 'bar')); $topic = new Topic($this->connection->reveal(), 'topic-name', 'project-name'); $res = $topic->delete(['foo' => 'bar']); }