public static PactDslRootValue decimalType ( ) { PactDslRootValue value = new PactDslRootValue ( ) ; value . generators . addGenerator ( Category . BODY , "" , new RandomDecimalGenerator ( 10 ) ) ; value . setValue ( 100 ) ; value . setMatcher ( new NumberTypeMatcher ( NumberTypeMatcher . NumberType . DECIMAL ) ) ; return value ; }
Value that must be a decimal value