/** * Test that the factory information makes sense - a type is exactly either translated, simple or complex. * * @param IAttributeTypeFactory $attributeFactory The attribute type factory to test. * * @return void */ public function attributeTypeInformationMakesSense($attributeFactory) { $this->assertTrue($attributeFactory->isTranslatedType() || $attributeFactory->isSimpleType() || $attributeFactory->isComplexType(), $attributeFactory->getTypeName() . ' is neither simple, complex nor translated. But must implement at least one.'); }