System.IO.IsolatedStorage.IdentityTests.IdentityThrowsInvalidOperation C# (CSharp) Méthode

IdentityThrowsInvalidOperation() private méthode

private IdentityThrowsInvalidOperation ( ) : void
Résultat void
        public void IdentityThrowsInvalidOperation()
        {
            TestStorage storage = new TestStorage();
            Assert.Throws<InvalidOperationException>(() => storage.ApplicationIdentity);
            Assert.Throws<InvalidOperationException>(() => storage.AssemblyIdentity);
            Assert.Throws<InvalidOperationException>(() => storage.DomainIdentity);
        }