Closed ayrshid99 closed 3 years ago
I have a class that contains field annotated with @NotNull and @NotEmpty annotations the
like this
@NotNull @NotEmpty public String billing_zip; and then manufacture pojo like this
@NotNull @NotEmpty public String billing_zip;
PodamFactory factory = new PodamFactoryImpl(); Person person = (Person) factory.manufacturePojo(Person.class);
always gives null for such fields
Hi,
As you can see from the tests the filled. I think there is some other reason for a problem you facing.
Thanks, Daniil
I have a class that contains field annotated with @NotNull and @NotEmpty annotations the
like this
@NotNull @NotEmpty public String billing_zip;
and then manufacture pojo like thisalways gives null for such fields