public class EvilStaticInitializerExampleTest {
@Test
@SuppressStaticInitializationFor("samples.staticinitializer.EvilStaticInitializerExample")
public void assertNativeCodeInvocationWorks() throws Exception {
EvilStaticInitializerExample tested = new EvilStaticInitializerExample();
assertThat(tested.doSomeNativeStuffUsingTheLoadedSystemLibrary(), instanceOf(String.class));
}