public function testGetDefaultAttributesHierarchicalType() { $test_entity_type = new TeamType(); $expected_attributes = (include __DIR__ . '/Fixture/default_attributes_hierarchical.php'); $default_attributes = $test_entity_type->getDefaultAttributes(); $this->assertInstanceOf(AttributeMap::CLASS, $default_attributes); $this->assertCount(12, $default_attributes); $this->assertEquals($expected_attributes, $default_attributes->toArray()); }