public function test_get_create_structure() { $structure = core_competency_testable_exporter::get_create_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); }