public void TestIntToStringConversion()
 {
     IntStringConverter conv = new IntStringConverter();
       object output = conv.Convert((object)42, null, null, null);
       Assert.IsNotNull(output);
       Assert.IsTrue(output is string);
       Assert.Equals((string)output, "42");
 }
 public void TestFaultyStringToIntConversion()
 {
     IntStringConverter conv = new IntStringConverter();
       object output = conv.ConvertBack((object)"4d2", null, 42, null);
       Assert.IsNotNull(output);
       Assert.IsTrue(output is int);
       Assert.Equals((int)output, 42);
 }