Ejemplo n.º 1
0
 public function testAddsResourceToGroup()
 {
     $resourceId = 189282;
     $groupId = 100;
     $this->repository->AddResourceToGroup($resourceId, $groupId);
     $expectedCommand = new AddResourceToGroupCommand($resourceId, $groupId);
     $this->assertEquals($expectedCommand, $this->db->_LastCommand);
 }