@Test public void testSuppressOwnConstructor() { Mockit.stubOutClass(ExampleWithEvilConstructor.class, "(String)"); ExampleWithEvilConstructor tested = new ExampleWithEvilConstructor("test"); assertNull(tested.getMessage()); }