public bool PhoneCountryInput(string phoneCountry) { if (_validation.CheckPhoneCountry(phoneCountry)) { Presenter?.SetPhoneCountryState(EState.Success); return(true); } Presenter?.SetPhoneCountryState(EState.Fail); return(false); }
public void TestPhoneCountry(string phoneCountry, bool isValid) { Assert.AreEqual(isValid, _validation.CheckPhoneCountry(phoneCountry)); }