public function testDelete() { $this->mockClient->expects($this->once())->method('sendCommand')->with($this->isInstanceOf('\\Phue\\Command\\DeleteGroup')); $this->group->delete(); }