### Question:
SwingInteractiveReporter implements Reporter { @Override public boolean canApprove(File fileForApproval) { return other.canApprove(fileForApproval); } SwingInteractiveReporter(Reporter other, FileSystemUtils fileSystemReadWriter); static SwingInteractiveReporter wrap(Reporter reporter); @Override void notTheSame(byte[] oldValue, File fileForVerification, byte[] newValue, File fileForApproval); @Override void approveNew(byte[] value, File fileForApproval, File fileForVerification); @Override boolean canApprove(File fileForApproval);  }### Answer:
@Test public void shouldReturnCanApproveFromOther() throws Exception { assertThat(interactiveReporter.canApprove(testFile.file()), equalTo(false)); when(reporter.canApprove(testFile.file())).thenReturn(true); assertThat(interactiveReporter.canApprove(testFile.file()), equalTo(true)); }