public void ConstructAppRazorFile_Properly_Creates_File_Contents() { var fileBytes = _appRazorService.ConstructAppRazorFile().FileBytes; var actualContent = Encoding.UTF8.GetString(fileBytes); Assert.AreEqual(ExpectedContent, actualContent); }
private void WriteServiceDerivedFiles() { _blazorProjectBuilder.WriteFileInformationToProject(_viewImportService.ConstructImportsFile()); _blazorProjectBuilder.WriteFileInformationToProject(_programCsService.ConstructProgramCsFile()); _blazorProjectBuilder.WriteFileInformationToProject(_appRazorService.ConstructAppRazorFile()); _blazorProjectBuilder.WriteFileInformationToProject(_hostPageService.ConstructHostPageFile()); }