public DataPrinterUnitTests() { IFormatReader formatReader = new MockFormatReader(); IDataReader dataReader = new DataReader(formatReader); this._rootManager = dataReader.Read(); }
public void MockFormatReaderCreationTest() { IFormatReader mockFormatReader = new MockFormatReader(); Assert.NotNull(mockFormatReader); Assert.IsType <MockFormatReader>(mockFormatReader); }
public void MockFormatReaderReadTest() { IFormatReader mockFormatReader = new MockFormatReader(); var rootManager = mockFormatReader.Read(); Assert.NotNull(rootManager); Assert.IsType <Manager <IEmployee> >(rootManager); }
public void DataReaderReadTest() { IFormatReader formatReader = new MockFormatReader(); IDataReader dataReader = new DataReader(formatReader); var rootManager = dataReader.Read(); Assert.NotNull(rootManager); Assert.IsType <Manager <IEmployee> >(rootManager); }