### Question:
Preconditions { public static int checkPositionIndex(int index, int size) { return checkPositionIndex(index, size, "index"); } private  Preconditions(); static void checkArgument(boolean expression); static void checkArgument(boolean expression,
            @Nullable
            Object errorMessage); static void checkArgument(boolean expression,
            @Nullable
            String errorMessageTemplate,
            @Nullable
            Object... errorMessageArgs); static void checkState(boolean expression); static void checkState(boolean expression,
            @Nullable
            Object errorMessage); static void checkState(boolean expression,
            @Nullable
            String errorMessageTemplate,
            @Nullable
            Object... errorMessageArgs); static T checkNotNull(T reference); static T checkNotNull(T reference, @Nullable
    Object errorMessage); static T checkNotNull(T reference,
            @Nullable
            String errorMessageTemplate,
            @Nullable
            Object... errorMessageArgs); static int checkElementIndex(int index, int size); static int checkElementIndex(int index, int size,
            @Nullable
            String desc); static int checkPositionIndex(int index, int size); static int checkPositionIndex(int index, int size,
            @Nullable
            String desc); static void checkPositionIndexes(int start, int end, int size);  }### Answer:
@Test(expected = IndexOutOfBoundsException.class) public void testFalseCheckPositionsIndex() { Preconditions.checkPositionIndex(15, 10); }
@Test(expected = IndexOutOfBoundsException.class) public void testFalseCheckPositionsIndexWithMessage() { Preconditions.checkPositionIndex(15, 10, "false"); }