Public fields are part of the API and need to be tested too
Often these are constant.
Test that they're equal to the expected value:
public void testOneHalfField() {
Fraction a = Fraction.getFraction(1, 2);
assertEquals(a, Fraction.ONE_HALF);
}