Class LongSubject

    • Field Detail

      • LONG

        @Deprecated
        public static final SubjectFactory<LongSubject,​java.lang.Long> LONG
        Deprecated.
        Use a for each style loop over your Iterable<Integer> instead.
    • Constructor Detail

      • LongSubject

        public LongSubject​(FailureStrategy failureStrategy,
                           java.lang.Long subject)
    • Method Detail

      • isInclusivelyInRange

        @Deprecated
        public void isInclusivelyInRange​(long lower,
                                         long upper)
        Deprecated.
        Use isIn(Range.closed(lower, upper)) instead.
        Attests that a Subject is inclusively within the lower and upper bounds provided or fails.
      • isBetween

        @Deprecated
        public void isBetween​(long lower,
                              long upper)
        Deprecated.
        Use isIn(Range.open(lower, upper)) instead.
        Attests that a Subject is exclusively within the lower and upper bounds provided or fails.
      • isEqualTo

        public void isEqualTo​(java.lang.Object other)
        Description copied from class: Subject
        Fails if the subject is not equal to the given object.
        Overrides:
        isEqualTo in class Subject<LongSubject,​java.lang.Long>
      • isNotEqualTo

        public void isNotEqualTo​(java.lang.Object other)
        Description copied from class: Subject
        Fails if the subject is equal to the given object.
        Overrides:
        isNotEqualTo in class Subject<LongSubject,​java.lang.Long>
      • isEqualTo

        public void isEqualTo​(int other)
      • is

        public void is​(int other)
      • is

        public void is​(short other)
      • is

        public void is​(byte other)