@Test
public void getCharacterRules_canCreateCharacterRulesWithAllIncluded() {

  final StringGenerationParameters generationParameters = new StringGenerationParameters();
  generationParameters.setIncludeSpecial(true);
  final List<CharacterRule> characterRules = CharacterRuleProvider
    .getCharacterRules(generationParameters);
  assertThat(characterRules, iterableWithSize(4));
  assertThat(characterRules, containsInAnyOrder(
    usesCharacters(EnglishCharacterData.UpperCase),
    usesCharacters(EnglishCharacterData.LowerCase),
    usesCharacters(EnglishCharacterData.Digit),
    usesCharacters(CredHubCharacterData.SPECIAL)
  ));
}