@Test public void getDialogStyleResource() throws Exception { int styleRes = random.nextInt(); Flavor flavor = new Flavor("", -1, styleRes); assertThat(flavor.getDialogStyleResource(), is(styleRes)); }
@StyleRes public int getDialogStyleResource(){ return mDialogStyleResource; }
Flavor { @StyleRes public int getDialogStyleResource(){ return mDialogStyleResource; } }
Flavor { @StyleRes public int getDialogStyleResource(){ return mDialogStyleResource; } Flavor(String name, int styleResource);  Flavor(String name, int styleResource, int dialogStyleResource);  Flavor(String name, int styleResource, int dialogStyleResource, boolean isDayNight); }
Flavor { @StyleRes public int getDialogStyleResource(){ return mDialogStyleResource; } 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(); }
Flavor { @StyleRes public int getDialogStyleResource(){ return mDialogStyleResource; } 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();  }