public void TestSerializeDsme0301() { const string input = "DSMEDEUEV19278293 29720865 032016010511175200000000 57212313 55 29720865 57212313 10110000JJJJNNNNNN N N 0013569492074400073339 N DBMEN0201601080000000000E0000001111722133211WN0 DBNAZiegel Nadja DBGBStein 19980120WHannover DBAN 30429 Hannover Bergstraße 14 "; const string expected = "DSMEDEUEV19278293 29720865 032016010511175200000000 57212313 55 29720865 57212313 10110000JJJJNNNNNN N N 000000000000000000000013569492074400073339 N DBMEN0201601080000000000E0000001111722133211WN0 DBNAZiegel Nadja DBGBStein 19980120WHannover DBAN 30429 Hannover Bergstraße 14 "; var unmarshaller = StreamFactory.CreateUnmarshaller("DSME-v0301"); var record = unmarshaller.Unmarshal(input); var marshaller = StreamFactory.CreateMarshaller("DSME-v0301"); var result = marshaller.Marshal(record).ToString(); Assert.Equal(expected, result); }