public string LoginAndTest(IWebRequestHelper webRequestHelper) { try { webRequestHelper.Login(_config); webRequestHelper.Test(); return("success"); } catch (Exception ex) { return(ex.Message); } }
public static void AddTestExpectation(IWebRequestHelper webRequestHelper) { Expect.Call(() => webRequestHelper.Test()).IgnoreArguments(); }
public void Test(IWebRequestHelper webRequestHelper) { webRequestHelper.Test(); }