public async Task FetchJson_Convert_WriteOutput() { var logger = new TestContextLogger(); var reader = new PeopleJsonReader(logger); var jsonModel = await reader.GetModel(); Assert.IsNotNull(jsonModel); var converter = new PeopleConverter(); var model = converter.Convert(jsonModel); var writer = new ConsoleOutputWriter(logger); writer.Write(model); }
public PeopleBusiness(IPeopleRepository repository) { _repository = repository; _converter = new PeopleConverter(); }