### Question:
MyClass2 { public String getStr() { return str; } MyClass2();   MyClass2(String str); String getStr();  }### Answer:
@Test public void testSupressingConstructorMethod() throws Exception { suppress(constructor(MyClass2.class)); assertNull(new MyClass2().getStr()); }
@Test public void testSupressingAllConstructorMethod() throws Exception { suppress(constructorsDeclaredIn(MyClass2.class)); assertNull(new MyClass2("test").getStr()); }
@Test public void testSupressingAllMethods() throws Exception { suppress(methodsDeclaredIn(MyClass2.class)); assertNull(new MyClass2("test").getStr()); }
@Test public void testSupressingEntireClass() throws Exception { suppress(everythingDeclaredIn(MyClass2.class)); assertNull(new MyClass2("test").getStr()); }