@Test
public void getCharacterRules_returnsAnEmptyListWhenAllAreExcluded() {

  final StringGenerationParameters generationParameters = new StringGenerationParameters();
  generationParameters.setIncludeSpecial(false);
  generationParameters.setExcludeNumber(true);
  generationParameters.setExcludeUpper(true);
  generationParameters.setExcludeLower(true);
  final List<CharacterRule> characterRules = CharacterRuleProvider
    .getCharacterRules(generationParameters);
  assertThat(characterRules, iterableWithSize(0));
}