System.IO.IsolatedStorage.IdentityTests.IdentityThrowsInvalidOperation C# (CSharp) Method

IdentityThrowsInvalidOperation() private method

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