@Test public void getAllocationPercentage_isCorrect() throws Exception { Assert.assertEquals(drawableBreakDown.getAllocationPercentage(), "10.63%"); Assert.assertEquals(notDrawableBreakDown.getAllocationPercentage(), "0.01%"); }