I have a small problem with Assertion, or maybe just with BigDecimal.
My JUnit test is throwing an error while using assertEquals(Object expected, Object actual):
java.lang.AssertionError: expected:<10> but was:<10.000000000>
expected is created via:
BigDecimal expected = MathHelper.getDecimal(10);
The getDecimal method in MathHelper looks like this:
public static final BigDecimal getDecimal(long value) {
    return BigDecimal.valueOf(value);
}
The actual is a private BigDecimal count and it's getter method is a classic getter:
public BigDecimal getCount() {
    return count;
}
I have absolutely no idea what is going on here...