@Test public void shelfLife() throws Exception { Assert.assertEquals(messageMethod("shelfLife()"), expShelfLife, test.shelfLife()); }
public int shelfLife() { return -2; }
Fruit { public int shelfLife() { return -2; } }
Fruit { public int shelfLife() { return -2; }  }
Fruit { public int shelfLife() { return -2; }  boolean isApple(); boolean isBanana(); boolean isPineapple(); int shelfLife(); }
Fruit { public int shelfLife() { return -2; }  boolean isApple(); boolean isBanana(); boolean isPineapple(); int shelfLife();  }