public void DestinationReceivesConvertedData() { DataTable originalData = new DataTable("table1"); DataTable convertedData = new DataTable("table2"); _source.GetData().Returns(originalData); _converter.ConvertData(originalData).Returns(convertedData); var importer = new Importer(_source, _converter, _destination); importer.Run(); Assert.NotEqual(originalData, convertedData); _destination.Received(1).Receive(convertedData); }