private WebSourceCallbackHandlerNavigateToWithInvalidSchemesExpectedDoesNotInvokeStartUriProcess ( ) : void | ||
return | void |
public void WebSourceCallbackHandlerNavigateToWithInvalidSchemesExpectedDoesNotInvokeStartUriProcess()
{
var schemes = new[] { "gopher", "mailto", "file", "ldap", "mailto", "net.pipe", "net.tcp", "news", "nntp", "telnet", "ldap", "uuid" };
var env = new Mock<IEnvironmentRepository>();
var handler = new WebSourceCallbackHandlerMock(env.Object);
#pragma warning disable 168
foreach(var scheme in schemes)
#pragma warning restore 168
{
Assert.AreEqual(0, handler.StartUriProcessHitCount);
}
}