PaletteTrigger extends BaseTrigger { public Filter getDarkMutedFilter() { return getDarkMutedFilter(getColour()); } PaletteTrigger(); void setBitmap(@NonNull Bitmap bitmap); Filter getVibrantFilter(); Filter getVibrantFilter(GenericFilter<Palette.Swatch, Integer> nextFilter); Filter getLightVibrantFilter(); Filter getLightVibrantFilter(GenericFilter<Palette.Swatch, Integer> nextFilter); Filter getDarkVibrantFilter(); Filter getDarkVibrantFilter(GenericFilter<Palette.Swatch, Integer> nextFilter); Filter getMutedFilter(); Filter getMutedFilter(GenericFilter<Palette.Swatch, Integer> nextFilter); Filter getLightMutedFilter(); Filter getLightMutedFilter(GenericFilter<Palette.Swatch, Integer> nextFilter); Filter getDarkMutedFilter(); Filter getDarkMutedFilter(GenericFilter<Palette.Swatch, Integer> nextFilter); GenericFilter<Palette.Swatch, Integer> getColour(); GenericFilter<Palette.Swatch, Integer> getColor(); GenericFilter<Palette.Swatch, Integer> getTitleTextColour(); GenericFilter<Palette.Swatch, Integer> getTitleTextColor(); GenericFilter<Palette.Swatch, Integer> getBodyTextColour(); GenericFilter<Palette.Swatch, Integer> getBodyTextColor();  }
@Test public void givenADummyPaletteDarkMutedColourIsCorrect() { Filter filter = paletteTrigger.getDarkMutedFilter(); int output = filter.filter(null); assertThat(output).isEqualTo(DARK_MUTED); }