@Test(expectedExceptions = IllegalStateException.class) public void testUnreachableType() { String bogus = Assert.unreachable(String.class); fail(bogus); }
public static void unreachable() { String message = String.format("%s Code should be unreachable!\n", PREFIX); throw new IllegalStateException(message); }
Assert { public static void unreachable() { String message = String.format("%s Code should be unreachable!\n", PREFIX); throw new IllegalStateException(message); } }
Assert { public static void unreachable() { String message = String.format("%s Code should be unreachable!\n", PREFIX); throw new IllegalStateException(message); }  }
Assert { public static void unreachable() { String message = String.format("%s Code should be unreachable!\n", PREFIX); throw new IllegalStateException(message); }  static void nonNull(Object... values); static void check(boolean... values); static void unreachable(); static void unreachable(String message, Object... objects); static T unreachable(Class<T> returnType); static T unreachable(Class<T> returnType, String message, Object... objects); static T unreachable(Class<T> returnType, Exception problem); }
Assert { public static void unreachable() { String message = String.format("%s Code should be unreachable!\n", PREFIX); throw new IllegalStateException(message); }  static void nonNull(Object... values); static void check(boolean... values); static void unreachable(); static void unreachable(String message, Object... objects); static T unreachable(Class<T> returnType); static T unreachable(Class<T> returnType, String message, Object... objects); static T unreachable(Class<T> returnType, Exception problem);  }