public void VerifyResult() { DesignerRedirectForApiKeyExample example = new DesignerRedirectForApiKeyExample(Props.GetInstance()); example.Run(); Assert.IsNotNull(example.GeneratedLinkToDesignerForApiKey); }
public void VerifyResult() { DesignerRedirectForApiKeyExample example = new DesignerRedirectForApiKeyExample(); example.Run(); Assert.IsNotEmpty(example.GeneratedLinkToDesignerForApiKey); }
public void VerifyResult() { DesignerRedirectForApiKeyExample example = new DesignerRedirectForApiKeyExample(Props.GetInstance()); example.Run(); Assert.IsNotNull(example.GeneratedLinkToDesignerForApiKey); string stringResponse = HttpRequestUtil.GetUrlContent(example.GeneratedLinkToDesignerForApiKey); StringAssert.Contains("Electronic Disclosures and Signatures Consent", stringResponse); }