public async Task Crypt_password_if_stored_in_plain_text(string allPassword, string expected)
        {
            await Make.TestFile("password.config").AndExecute(environment =>
            {
                CreateConfigFile(environment.FilePath, firstUserPassword: allPassword, secondUserPassword: allPassword, operatorPassword: allPassword);

                var _ = new XmlUserProvider(environment.FilePath);

                var config = Xml.DeserializeFrom <WalletMateConfiguration>(environment.FilePath);
                config.FirstPair.Password.Should().Be(expected);
                config.SecondPair.Password.Should().Be(expected);
                config.Operator.Password.Should().Be(expected);

                return(Task.CompletedTask);
            });
        }
        public async Task Return_users_with_decoded_password_hash(string allPassword, string expected)
        {
            await Make.TestFile("blankname.config").AndExecute(environment =>
            {
                CreateConfigFile(environment.FilePath, firstUserPassword: allPassword, secondUserPassword: allPassword, operatorPassword: allPassword);
                var provider = new XmlUserProvider(environment.FilePath);

                provider.GetUsers()
                .Select(a => a.Password)
                .ToList()
                .Should()
                .HaveCount(3)
                .And
                .BeEquivalentTo(
                    new List <string>()
                {
                    expected, expected, expected
                });

                return(Task.CompletedTask);
            });
        }