public void ExternalItem_IsAssociated_ToRouteKey() { rc.RouteData.Values["id"] = "1"; rc.RouteData.Values["controller"] = "stub2"; IController controller = new Stub2Controller(); controller.Execute(rc); var external = rc.RouteData.DataTokens["externalItem"] as ExternalItem; Assert.That(external, Is.Not.Null); Assert.That(external.Name, Is.EqualTo("1")); Assert.That(external.ZoneName, Is.EqualTo("stub2")); }