public void DynamicRouteWithPrefix() { AutoPocoConfiguration.DashboardPathPrefix = "testPrefix"; var attr = new DynamicRoutePrefixAttribute("test"); Assert.AreEqual("testPrefix/test", attr.Prefix); }
public void DynamicRouteWithoutPrefix() { var attr = new DynamicRoutePrefixAttribute("test"); Assert.AreEqual("test", attr.Prefix); }