Hi,
If you run this code with java8, the manufature will gather the String constructor(String(byte[] bytes, int offset, int length), so when generating radom int you will get outOfBounds.
import org.junit.Test;
import uk.co.jemos.podam.api.PodamFactory;
import uk.co.jemos.podam.api.PodamFactoryImpl;
public class PodamProof {
@Test
public void testStringJava8(){
PodamFactory factory = new PodamFactoryImpl();
String pojo = factory.manufacturePojo(String.class);
System.out.print(pojo);
}
}
Hi, If you run this code with java8, the manufature will gather the String constructor(String(byte[] bytes, int offset, int length), so when generating radom int you will get outOfBounds.
Kind Regards