Exemplo n.º 1
0
        public void Secrets_werden_gelesen() {
            var sut = new Secrets {
                AwsAccessKeyId = "xyz",
                AwsSecretAccessKey = "abc"
            };

            sut.SaveToFile("aws.secrets");

            var secrets = Secrets.LoadFromFile("aws.secrets");

            Assert.That(secrets.AwsAccessKeyId, Is.EqualTo("xyz"));
            Assert.That(secrets.AwsSecretAccessKey, Is.EqualTo("abc"));
        }