public void to_string_gets_pattern_and_type_full_name() { var url = new RouteInput <SampleViewModel>("my/sample"); url.ToString().ShouldEqual("{0} --> {1}".ToFormat(url.Parent.Pattern, typeof(SampleViewModel).FullName)); }