public void the_new_route_should_be_returned() { var route = MailgunClientBuilder.GetClient().CreateRoute(1, "catch all that does nothing test for mnailgun", RouteFilter.CatchAll(), RouteAction.InvokeWebHook(new Uri("http://foobar.com/messages")), RouteAction.Stop()); route.Should().NotBeNull(); route.Id.Should().NotBeEmpty(); }
public void the_new_route_should_be_returned() { var route = MailgunClientBuilder.GetClient().CreateRoute(1, "catch all that does nothing test for mnailgun", RouteFilter.CatchAll(), RouteAction.InvokeWebHook(new Uri("http://foobar.com/messages")), RouteAction.Stop()); Assert.IsNotNull(route); Assert.IsFalse(string.IsNullOrEmpty(route.Id)); }