with Properties
Includes the given properties when creating an object.
Note that each predicate is applied in addition to previously registered predicates, including ObjectCreator::withPropertyFilter, ObjectCreator::withProperties, ObjectCreator::withoutProperties, and withoutProperties.
Parameters
properties
the properties that are to be included