public void UpdatePassword() { _loader.Load(); _processor.UpdatePassword(password.text); }
public void UpdatePassword_Should_Throw_Exception_When_Password_Is_Not_Assigned() { var exception = Assert.Throws <ArgumentNullException>(() => _processor.UpdatePassword(null)); Assert.AreEqual("password", exception.ParamName); }