diff --git a/src/test/java/org/cryptomator/integrations/common/InitExceptionTestClass.java b/src/test/java/org/cryptomator/integrations/common/InitExceptionTestClass.java new file mode 100644 index 0000000..186f557 --- /dev/null +++ b/src/test/java/org/cryptomator/integrations/common/InitExceptionTestClass.java @@ -0,0 +1,25 @@ +package org.cryptomator.integrations.common; + +@CheckAvailability +public class InitExceptionTestClass { + + private static final String TEST; + + static { + TEST = throwSomethig(); + } + + public InitExceptionTestClass() { + + } + + static String throwSomethig() { + throw new RuntimeException("STATIC FAIL"); + } + + @CheckAvailability + public static boolean test() { + return true; + } + +}