public void ConvertToSuccessTest() { var c = new StringBytesArrayTypeConverter(); var b = Convert.FromBase64String("XXXX"); var r2 = c.ConvertTo(b, typeof(string)) as string; Assert.AreEqual(r2, "XXXX"); }
public void ConvertToInt() { var c = new StringBytesArrayTypeConverter(); c.ConvertTo("ZZZ", typeof(int)); }