Class Check


public final class Check extends Object
  • Method Details

    • assertCtElementEquals

      public static void assertCtElementEquals(CtElement ct1, CtElement ct2)
      if ct1 is not equals to ct2, tells the exact difference
    • assertNotNull

      public static <T> T assertNotNull(String msg, T reference)
      throws AssertionError if "reference" is null
    • assertNotNull

      public static <T> T assertNotNull(T reference)
    • assertExists

      public static <T extends File> T assertExists(T file)
    • assertIsSame

      public static <A extends CtElement,​ E extends CtElement> A assertIsSame(A actual, E expected)