public void has_logout_positive() { var graph = new BehaviorGraph(); graph.AddChain().AddToEnd(ActionCall.For <LoginEndpoint>(x => x.get_logout(null))); FormsAuthenticationEndpointsRegistration.HasLogout(graph) .ShouldBeTrue(); }
public void has_logout_negative() { FormsAuthenticationEndpointsRegistration.HasLogout(new BehaviorGraph()) .ShouldBeFalse(); }