Example #1
0
        public void TryGetEndpointInvalidName()
        {
            fixture.SetFileContents(EmptyNameSAMLEndpointText);
            SAMLEndpoint samlEndpoint;

            Assert.IsFalse(manager.TryGetEndpoint("", out samlEndpoint));
            Assert.IsNull(samlEndpoint);
        }
        public void TryGetRoleSessionInvalid()
        {
            fixture.SetFileContents(InvalidRoleSessionText);
            SAMLImmutableCredentials readCredentials;

            Assert.IsFalse(manager.TryGetRoleSession(RoleSessionName, out readCredentials));
            Assert.IsNull(readCredentials);
        }