示例#1
0
        public void CanResolve()
        {
            //Arrange
            var sut = new AwsCredentialResolver(Directory.GetCurrentDirectory());

            //Act
            var creds = sut.Resolve(new AwsProfile());

            //Assert
            Assert.Null(creds);
        }
示例#2
0
        public void CanBeConstructed()
        {
            //Arrange
            var sut = new AwsCredentialResolver(Directory.GetCurrentDirectory());

            //Act
            var hash = sut.GetHashCode();

            //Assert
            Assert.NotNull(sut);
            Assert.Equal(hash, sut.GetHashCode());
        }