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