public void SetUserAnonymouse_UserShouldBeAnonymouse() { var result = _ctx.SetUserAnonymous(); Assert.IsFalse(_ctx.User.Identity.IsAuthenticated); Assert.AreSame(result, _ctx); }