public function delete(array $options = [])
{
$this->connection->deleteTopic($options + ['topic' => $this->name]);
}
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']); }