### Question:
DiffViewerDao { public StepDiffInfo loadStepDiffInfo(final String baseBranchName, final String baseBuildName, final String comparisonName, final String useCaseName, final String scenarioName, final int stepIndex) { final File file = diffFiles.getStepFile(baseBranchName, baseBuildName, comparisonName, useCaseName, scenarioName, stepIndex); return ScenarioDocuXMLFileUtil.unmarshal(StepDiffInfo.class, file); }  List<BuildDiffInfo> loadAllBuildDiffInfos(); List<BuildDiffInfo> loadBuildDiffInfos(final String baseBranchName, final String baseBuildName); BuildDiffInfo loadBuildDiffInfo(final String baseBranchName, final String baseBuildName,
										   final String comparisonName); List<UseCaseDiffInfo> loadUseCaseDiffInfos(final String baseBranchName, final String baseBuildName,
													  final String comparisonName); UseCaseDiffInfo loadUseCaseDiffInfo(final String baseBranchName, final String baseBuildName,
											   final String comparisonName, final String useCaseName); List<ScenarioDiffInfo> loadScenarioDiffInfos(final String baseBranchName, final String baseBuildName,
														final String comparisonName, final String useCaseName); ScenarioDiffInfo loadScenarioDiffInfo(final String baseBranchName, final String baseBuildName,
												 final String comparisonName, final String useCaseName, final String scenarioName); List<StepDiffInfo> loadStepDiffInfos(final String baseBranchName, final String baseBuildName,
												final String comparisonName, final String useCaseName, final String scenarioName); StepDiffInfo loadStepDiffInfo(final String baseBranchName, final String baseBuildName,
										 final String comparisonName, final String useCaseName, final String scenarioName, final int stepIndex); File getScreenshotFile(final String baseBranchName, final String baseBuildName, final String comparisonName,
								  final String useCaseName,
								  final String scenarioName, final String imageName); File getBuildComparisonLogFile(final String baseBranchName, final String baseBuildName,
										  final String comparisonName); DiffViewerBuildWriter getBuildDiffWriter(final String baseBranchName, final String baseBuildName,
													final String comparisonName);  }### Answer:
@Test void testWriteAndReadStepDiffInfo() { final StepDiffInfo stepDiffInfo = getStepDiffInfo(STEP_INDEX); buildWriter.saveStepDiffInfo(USE_CASE_NAME, SCENARIO_NAME, stepDiffInfo); final StepDiffInfo actualStepDiffInfo = dao.loadStepDiffInfo(BASE_BRANCH_NAME, BASE_BUILD_NAME, COMPARISON_NAME, USE_CASE_NAME, SCENARIO_NAME, STEP_INDEX); assertStepDiffInfo(actualStepDiffInfo, STEP_INDEX); }