public void TestActionDescriptorWithNullDataShouldReturnDefault()
 {
     var desc = new ActionDescriptor(null);
     Assert.AreEqual(desc.ToString(), @"/Home/Index/Param");
 }
 public void TestActionDescriptorWithValidDataShouldReturnCorrect()
 {
     var desc = new ActionDescriptor("a/b/c");
     Assert.AreEqual(desc.ToString(), @"/a/b/c");
 }
 public void TestActionDescriptorWithEmptyDataShouldReturnDefaultData()
 {
     var desc = new ActionDescriptor(string.Empty);
     Assert.AreEqual(desc.ToString(), @"/Home/Index/Param");
 }