Пример #1
0
 /**
  * @depends testResolveContactStateAdapterByModulesUserHasAccessTo
  */
 public function testGetContactStateDataFromStartingStateOnAndKeyedById()
 {
     $this->assertTrue(ContactsModule::loadStartingData());
     $this->assertEquals(6, count(ContactState::GetAll()));
     $contactStates = ContactsUtil::GetContactStateDataFromStartingStateOnAndKeyedById();
     $this->assertEquals(2, count($contactStates));
 }