コード例 #1
0
 public MarketAnswer RemoveUser(string userName)
 {
     if (real != null)
     {
         return(real.RemoveUser(userName));
     }
     throw new NotImplementedException();
 }
コード例 #2
0
 public void SuccessDeleteUserNotSoleOwner()
 {
     SignIn(adminName, adminPass);
     _adminBridge.GetAdminService(_adminSignInBridge.GetUserSession());
     Assert.AreEqual((int)RemoveUserStatus.Success, _adminBridge.RemoveUser(userNotSoleStoreOwner).Status);
     _signInBridge = UserDriver.getBridge();
     _signInBridge.EnterSystem();
     Assert.AreEqual((int)SignInStatus.NoUserFound, _signInBridge.SignIn(userNotSoleStoreOwner, userNotSoleStoreOwnerPass).Status);
 }