public void Test_change() { try { Change c = new Change(); c.ConvertToCur1(123); c.ConvertToCur2(456); var v = c.ToXml(); Assert.IsTrue(true); } catch (System.Exception exp) { Assert.Fail(exp.Message); } }