public void Test_05_TestGetValue( ) { FileFilters filter = new FileFilters( ); string filters = ( "Documents (*.docx; *.doc)|*.docx; *.doc||" ); int pos = 0; string description = filter.GetValue( ref pos, filters ); Assert.AreEqual( "Documents (*.docx; *.doc)", description ); string value = filter.GetValue( ref pos, filters); Assert.AreEqual( "*.docx; *.doc", value ); }