public function testRemovesResourceType() { $this->repository->RemoveResourceType(123); $expectedCommand = new DeleteResourceTypeCommand(123); $this->assertEquals($expectedCommand, $this->db->_LastCommand); }