Class AbstractHybrisNumberValidatorTest<T extends java.lang.Number,​A extends java.lang.annotation.Annotation>

    • Field Detail

      • validator

        protected javax.validation.ConstraintValidator<A extends java.lang.annotation.Annotation,​java.lang.Number> validator
      • ctx

        protected final javax.validation.ConstraintValidatorContext ctx
    • Constructor Detail

      • AbstractHybrisNumberValidatorTest

        public AbstractHybrisNumberValidatorTest()
    • Method Detail

      • getBorderCaseMin

        protected abstract T getBorderCaseMin()
        Value has to exact the used bean definition annotation value
      • getBorderCaseMax

        protected abstract T getBorderCaseMax()
        Value has to exact the used bean definition annotation value
      • getValueAboveGivenMin

        protected abstract T getValueAboveGivenMin​(T borderValue)
      • getValueBelowGivenMin

        protected abstract T getValueBelowGivenMin​(T borderValue)
      • getValueAboveGivenMax

        protected abstract T getValueAboveGivenMax​(T borderValue)
      • getValueBelowGivenMax

        protected abstract T getValueBelowGivenMax​(T borderValue)
      • assertIsNotValidValue

        protected void assertIsNotValidValue​(T value)
      • assertIsValidValue

        protected void assertIsValidValue​(T value)
      • prepareMinAnnotationInstance

        protected A prepareMinAnnotationInstance()
      • prepareMaxAnnotationInstance

        protected A prepareMaxAnnotationInstance()
      • clearClassAfterTest

        public void clearClassAfterTest()
                                 throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException