### Question:
SizePropertyDefinition extends PropertyDefinition<Long> { public Long getUpperLimit() { return upperLimit; } private  SizePropertyDefinition(
      AbstractManagedObjectDefinition<?, ?> d, String propertyName,
      EnumSet<PropertyOption> options,
      AdministratorAction adminAction,
      DefaultBehaviorProvider<Long> defaultBehavior, Long lowerLimit,
      Long upperLimit, boolean allowUnlimited); static Builder createBuilder(
      AbstractManagedObjectDefinition<?, ?> d, String propertyName); long getLowerLimit(); Long getUpperLimit(); boolean isAllowUnlimited(); @Override void validateValue(Long value); @Override String encodeValue(Long value); @Override Long decodeValue(String value); @Override R accept(PropertyDefinitionVisitor<R, P> v, P p); @Override R accept(PropertyValueVisitor<R, P> v, Long value, P p); @Override void toString(StringBuilder builder); @Override int compare(Long o1, Long o2);  }### Answer:
@Test(dataProvider = "stringLimitData") public void testUpperLimit2(String limit, Long expectedValue) { SizePropertyDefinition.Builder builder = createTestBuilder(); builder.setUpperLimit(limit); SizePropertyDefinition spd = buildTestDefinition(builder); assertEquals(spd.getUpperLimit(), expectedValue); }