@Test
public void testGetAmountStringFraction() {

    Locale locale;
    boolean justTheNumber;
    boolean blankIfZero;
    boolean blankIfNull;
    boolean forceFraction;
    boolean stripOffSign;
    locale = Locale.UK;
    justTheNumber = true;
    blankIfZero = true;
    blankIfNull = true;
    forceFraction = true;
    stripOffSign = true;
    Amount inputAmount = createAmount("EUR", 9.00);
    Assert.assertEquals("9.00", AmountViewUtils.getAmountString(locale, inputAmount, justTheNumber, blankIfZero,
            blankIfNull, forceFraction, stripOffSign));
    forceFraction = false;
    Assert.assertEquals("9", AmountViewUtils.getAmountString(locale, inputAmount, justTheNumber, blankIfZero,
            blankIfNull, forceFraction, stripOffSign));
}