use of samples.suppressfield.SuppressField in project powermock by powermock.
the class SuppressFieldTest method assertThatSpecificInstanceFinalFieldSuppressionWorks.
@Test
public void assertThatSpecificInstanceFinalFieldSuppressionWorks() throws Exception {
suppress(field(SuppressField.class, "myWrappedBoolean"));
SuppressField suppressField = new SuppressField();
assertNull(suppressField.getMyWrappedBoolean());
}
Aggregations