Example #1
0
 public void TestImporter()
 {
     string textToBeImported = "Ala zgubila dolara";
     Data dataToSendToImporter = new TextData(textToBeImported);
     Importer importer = new TextImporter();
     importer.ImportData(dataToSendToImporter);
     string dataSavedInImporter = (importer as TextImporter).ImportedText;
     Assert.AreEqual(textToBeImported, dataSavedInImporter);
 }
 public DistributedModuleTextFactory(string textToForFactory)
 {
     data = new TextData(textToForFactory);
 }