public MarketAnswer RemoveUser(string userName) { if (real != null) { return(real.RemoveUser(userName)); } throw new NotImplementedException(); }
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); }