Podam Unit Testing same instance

Viewed 18

I've seen while I init and manufactor Pojo's in the multiple Unit tests that the Instance of pojo is the same, how can I get init different Instance for each Test .

/Init PodamFactory
    PodamFactory podamFactory = new PodamFactoryImpl();

    //Define Strategy to exclude some fields
    DefaultClassInfoStrategy classInfoStrategy = DefaultClassInfoStrategy.getInstance();
0 Answers
Related