public void GetRandomCharacterVariant_StateUnderTest_ExpectedBehavior()
        {
            // Arrange
            var characters = new Dictionary <CharacterVariant, string>();

            characters.Add(CharacterVariant.Digits, CharacterLists.Digits);
            characters.Add(CharacterVariant.Lowercase, CharacterLists.Lowercase);
            characters.Add(CharacterVariant.Uppercase, CharacterLists.Uppercase);
            var passwordGeneratorHelper = new PasswordGeneratorHelper(characters);

            // Act
            var result = passwordGeneratorHelper.GetRandomCharacterVariant();

            // Assert
            characters.Should().ContainKey(result);
        }
        public void GetRandomCharacterVariant()
        {
            // Arrange
            var characters = new Dictionary <CharacterVariant, string>
            {
                { CharacterVariant.Digits, CharacterLists.Digits },
                { CharacterVariant.Lowercase, CharacterLists.Lowercase },
                { CharacterVariant.Uppercase, CharacterLists.Uppercase }
            };
            var passwordGeneratorHelper = new PasswordGeneratorHelper(characters);

            // Act
            var result = passwordGeneratorHelper.GetRandomCharacterVariant();

            // Assert
            characters.Should().ContainKey(result);
        }