Beispiel #1
0
        public void when_interop_start_server()
        {
            bool flag = false;

            server
            .Setup(x => x.Start(userLevel))
            .Callback(() => { flag = true; });
            interop.StartServer(userLevel);
            flag.ShouldBeTrue();
        }
Beispiel #2
0
 public bool Start_Server()
 {
     try
     {
         _interop.StartServer(_user.UserLever);
         return(true);
     }
     catch
     {
         return(false);
     }
 }
Beispiel #3
0
 public bool Start_Server()
 {
     ValidateAndLog();
     try
     {
         _interop.StartServer(_user.UserLever);
         return(true);
     }
     catch
     {
         return(false);
     }
 }