protected function getLazyInterfaceType()
{
if (!$this->lazyInterface) {
$this->lazyInterface = new InterfaceType(['name' => 'LazyInterface', 'resolveType' => function () {
return $this->getTestObjectType();
}, 'resolve' => function () {
return [];
}]);
}
return $this->lazyInterface;
}