### Question:
Preconditions { public static void checkPositionIndexes(int start, int end, int size) { if (start < 0 || end < start || end > size) { throw new IndexOutOfBoundsException(badPositionIndexes(start, end, size)); } } 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 testFalseCheckPositionsIndexWithWrongStartAndEnd() { Preconditions.checkPositionIndexes(3, 1, 10); }