/** * Returns a new Maker for the same type of object and with the same initial state * except where overridden by the given <var>propertyValues</var>. * * @param propertyValues those initial properties of the new Make that will differ from this Maker * @return a new Maker */ @SafeVarargs public final Maker<T> but(PropertyValue<? super T, ?>... propertyValues) { return new Maker<>(this, propertyValues); }
/** * Returns a new Maker for the same type of object and with the same initial state * except where overridden by the given <var>propertyValues</var>. * * @param propertyValues those initial properties of the new Make that will differ from this Maker * @return a new Maker */ @SafeVarargs public final Maker<T> but(PropertyValue<? super T, ?>... propertyValues) { return new Maker<>(this, propertyValues); }
@SafeVarargs public static <T> Maker<T> an(Instantiator<T> instantiator, PropertyValue<? super T, ?> ... propertyProviders) { return new Maker<>(instantiator, propertyProviders); }
@SafeVarargs public static <T> Maker<T> a(Instantiator<T> instantiator, PropertyValue<? super T, ?> ... propertyProviders) { return new Maker<>(instantiator, propertyProviders); }
@SafeVarargs public static <T> Maker<T> a(Instantiator<T> instantiator, PropertyValue<? super T, ?> ... propertyProviders) { return new Maker<>(instantiator, propertyProviders); }
@SafeVarargs public static <T> Maker<T> an(Instantiator<T> instantiator, PropertyValue<? super T, ?> ... propertyProviders) { return new Maker<>(instantiator, propertyProviders); }