public LogoutProcessorTests()
        {
            this.authenticationManager = Substitute.For <IAuthenticationManager>();
            this.logService            = Substitute.For <ILogService <CommonLog> >();

            this.logoutProcessor = new LogoutProcessor(this.authenticationManager, this.logService);
        }
예제 #2
0
 public LogoutProcessorTests()
 {
     _authenticationService = new Mock <IAuthenticationService>();
     _processor             = new LogoutProcessor(_authenticationService.Object);
     _player = new Player("Wktb8xUwmyZCtqUF7qvAGXeWPCt2", "7r78", "*****@*****.**");
 }
예제 #3
0
파일: Menu.cs 프로젝트: einsju/Photofeud
 void Awake()
 {
     _processor = new LogoutProcessor(InterfaceFinder.Find <IAuthenticationService>());
 }
        private void LogoutBtnClick(object sender, EventArgs e)
        {
            var newLogout = new LogoutProcessor();

            newLogout.Logout();
        }