Flavor { public String getName() { return mName; } Flavor(String name, int styleResource);  Flavor(String name, int styleResource, int dialogStyleResource);  Flavor(String name, int styleResource, int dialogStyleResource, boolean isDayNight); String getName(); @StyleRes int getStyleResource(); @StyleRes int getDialogStyleResource(); boolean isDayNight(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void getName() throws Exception { String name = "BaconBacon"; Flavor flavor = new Flavor(name, -1); assertThat(flavor.getName(), is(name)); }