I need to write a unit test to test getRequired() method here by passing test data to private constructor private Example(String a, String b). Please help me with this.

```
public class Example {

private String str1 = null;
private String str2 = null;

public static void main(String[] args) {    
    Example e = new Example(args[0], args[1]);
    String req = e.getRequired();
    System.out.println(req);
}

private Example(String a, String b)
{
    str1 = new String(a);
    str2 = new String(b);
}

private String getRequired()
{
   //code using str1 and str2 here
   return "success";
}

```

}