Ejemplo n.º 1
0
 public function test_get_read_structure()
 {
     $structure = core_competency_testable_exporter::get_read_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->assertInstanceOf('external_value', $structure->keys['otherstring']);
     $this->assertInstanceOf('external_multiple_structure', $structure->keys['otherstrings']);
 }