assertTrue("Generated value is not a BigDecimal", value instanceof BigDecimal);
}
@Test
public void randomBigDecimalWithMathContextTest() {
Object value = new RandomFunction(BigDecimal.class, new MathContext(3, RoundingMode.HALF_EVEN)).generateValue();
assertNotNull("Generated BigDecimal must not be null", value);
assertTrue("Generated value is not a BigDecimal", value instanceof BigDecimal);
assertTrue("Generated value should have a precision of 3", ((BigDecimal) value).precision() == 3);
}