public void ExportDataService_Run() { var service = new ExportDataService <string, URIAdress>(loader, writer, converter); service.Run(); Mock.Get(loader).Verify(loader => loader.Load(), Times.AtLeastOnce()); //Mock.Get(converter).Verify(converter => converter.Convert(uriStrings), Times.AtLeastOnce()); //Mock.Get(writer).Verify(writer => writer.Write(uriAdresses), Times.AtLeastOnce()); }