Beispiel #1
0
        public void TestAuthenticationAttributeFromDownloadModule()
        {
            var attributeReader = new AttributeReader();
            var authRequired    = attributeReader.ReadAuthenticationFlagFromT <ResumeTaskResponse>();

            Assert.IsTrue(authRequired);
        }
Beispiel #2
0
        public void TestNonExistingAuthenticationAttribute()
        {
            var attrubuteReader = new AttributeReader();
            var result          = attrubuteReader.ReadAuthenticationFlagFromT <InfoResponse>();

            Assert.IsFalse(result, "This should never be set to true if an exception is thrown");
        }
Beispiel #3
0
        public void TestAuthenticationAttributeFromLoginModule()
        {
            var attributeReader = new AttributeReader();
            var authRequired    = attributeReader.ReadAuthenticationFlagFromT <LoginResponse>();

            Assert.IsFalse(authRequired);
        }