@Test public void getColor() throws Exception { int color = mToppingMock.getColor(); assertThat(color, is(MOCK_DEFAULT_COLOR)); }
public int getColor() { return color; }
Topping { public int getColor() { return color; } }
Topping { public int getColor() { return color; } Topping(int id); }
Topping { public int getColor() { return color; } Topping(int id); int getId(); int getColor(); int getPreviousColor(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
Topping { public int getColor() { return color; } Topping(int id); int getId(); int getColor(); int getPreviousColor(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final int PRIMARY; static final int PRIMARY_DARK; static final int ACCENT; }