@Test public void testSuppressOwnConstructor() throws Exception { ExampleWithEvilConstructor tested = Whitebox.newInstance(ExampleWithEvilConstructor.class); assertNull(tested.getMessage()); }
public String getMessage() { return message; }
ExampleWithEvilConstructor { public String getMessage() { return message; } }
ExampleWithEvilConstructor { public String getMessage() { return message; } ExampleWithEvilConstructor(String message); }
ExampleWithEvilConstructor { public String getMessage() { return message; } ExampleWithEvilConstructor(String message); String getMessage(); }
ExampleWithEvilConstructor { public String getMessage() { return message; } ExampleWithEvilConstructor(String message); String getMessage();  }