public void CustomTypeTest()
 {
     var mapper = new TypeScriptViewModelTypeMapper();
     var result = mapper.MapType(typeof(C1.CustomType));
     var result2 = mapper.MapType(typeof(C2.CustomType));
     var result3 = mapper.MapType(typeof(C3.CustomType));
     Assert.AreEqual("CustomType", result);
     Assert.AreEqual("CustomType1", result2);
     Assert.AreEqual("CustomType2", result3);
 }
 public void IEnumerableTest()
 {
     var mapper = new TypeScriptViewModelTypeMapper();
     var result = mapper.MapType(typeof(List<string>));
     Assert.AreEqual("string[]", result);
 }
 public void ArrayTest()
 {
     var mapper = new TypeScriptViewModelTypeMapper();
     var result = mapper.MapType(typeof (int[]));
     Assert.AreEqual("number[]", result);
 }