Пример #1
0
 public function test_get_update_structure()
 {
     $structure = core_competency_testable_exporter::get_update_structure();
     $this->assertInstanceOf('external_single_structure', $structure);
     $this->assertInstanceOf('external_value', $structure->keys['stringA']);
     $this->assertInstanceOf('external_format_value', $structure->keys['stringAformat']);
     $this->assertInstanceOf('external_value', $structure->keys['intB']);
     $this->assertArrayNotHasKey('otherstring', $structure->keys);
     $this->assertArrayNotHasKey('otherstrings', $structure->keys);
 }