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

            Assert.IsTrue(authRequired);
        }
Ejemplo n.º 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");
        }
Ejemplo n.º 3
0
        public void TestAuthenticationAttributeFromLoginModule()
        {
            var attributeReader = new AttributeReader();
            var authRequired    = attributeReader.ReadAuthenticationFlagFromT <LoginResponse>();

            Assert.IsFalse(authRequired);
        }