'alreadyMappedType',
'alreadyMappedNotNull',
'alreadyMappedNotBlank',
'alreadyPartiallyMappedCollection',
'readOnly',
'nonExistentField',
'noAutoMapping',
]) ;
$propertyInfoStub ->
method('getTypes'
) ->
will($this->
onConsecutiveCalls( [new Type(Type::BUILTIN_TYPE_STRING, true
)],
[new Type(Type::BUILTIN_TYPE_STRING
)],
[new Type(Type::BUILTIN_TYPE_STRING, true
),
new Type(Type::BUILTIN_TYPE_INT
),
new Type(Type::BUILTIN_TYPE_BOOL
)],
[new Type(Type::BUILTIN_TYPE_OBJECT, true, Entity::
class)],
[new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, null,
new Type(Type::BUILTIN_TYPE_OBJECT, false, Entity::
class))],
[new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true
)],
[new Type(Type::BUILTIN_TYPE_FLOAT, true
)], // The existing constraint is float
[new Type(Type::BUILTIN_TYPE_STRING, true
)],
[new Type(Type::BUILTIN_TYPE_STRING, true
)],
[new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, null,
new Type(Type::BUILTIN_TYPE_FLOAT
))],
[new Type(Type::BUILTIN_TYPE_STRING
)],
[