public void TestConvertData() { string testData = "ATR423;39045;12932;14000;20151006213456789"; DateTime dateTime = DateTime.ParseExact("20151006213456789", "yyyyMMddHHmmssfff", System.Globalization.CultureInfo.InvariantCulture); Aircraft aircraft = new Aircraft("ATR423", 39045, 12932, 14000, dateTime); Assert.That(_uut.ConvertData(testData).ToString(), Is.EqualTo(aircraft.ToString())); }