### Question:
ReportResourceMapper extends AbstractResourceMapper<ReportResource, ReportLookup> { @Override public ReportResource transform(ReportLookup lookup) { ReportResource.Builder builder = new ReportResource.Builder(); AbstractResourceBuilder abstractResourceBuilder = builder.addResource(); buildLookup(abstractResourceBuilder, lookup); builder.withAlwaysPrompt(lookup.alwaysPromptControls()); return builder.build(); } ReportResourceMapper(@NotNull SimpleDateFormat format, @Nullable ResourceType backupType);  ReportResourceMapper(@NotNull SimpleDateFormat format); @Override ReportResource transform(ReportLookup lookup);  }### Answer:
@Test public void should_map_file_lookup() throws Exception { mockFileLookup(); ReportResource resource = mapper.transform(mReportLookup); assertThat(resource.alwaysPromptControls(), is(true)); }