/**
* @param AbstractObjectType $type
*
* @throws ConfigurationException
*/
protected function assertInterfaceImplementationCorrect(AbstractObjectType $type)
{
if (!$type->getInterfaces()) {
return;
}
foreach ($type->getInterfaces() as $interface) {
foreach ($interface->getConfig()->getFields() as $intField) {
$this->assertFieldsIdentical($intField, $type->getConfig()->getField($intField->getName()), $interface);
}
}
}