class OpenApiDefinitionSchemaBuilderTest extends TestCase
{ private OpenApiDefinitionSchemaBuilder
$schemaBuilder;
private StaticDefinitionInstanceRegistry
$definitionRegistry;
protected function setUp(): void
{ $this->schemaBuilder =
new OpenApiDefinitionSchemaBuilder();
$this->definitionRegistry =
new StaticDefinitionInstanceRegistry( [ SimpleDefinition::
class,
ComplexDefinition::
class,
SimpleExtendedDefinition::
class,
],
$this->
createMock(ValidatorInterface::
class),
$this->
createMock(EntityWriteGatewayInterface::
class) );
}