package org.approvaltests.reporters;

import org.approvaltests.core.ApprovalFailureReporter;

public class AlwaysWorkingReporter implements EnvironmentAwareReporter
{
  private ApprovalFailureReporter wrapped;
  public AlwaysWorkingReporter(ApprovalFailureReporter wrapped)
  {
    this.wrapped = wrapped;
  }
  @Override
  public void report(String received, String approved) throws Exception
  {
    wrapped.report(received, approved);
  }
  @Override
  public boolean isWorkingInThisEnvironment(String forFile)
  {
    return true;
  }
}

@@ -395,23 +395,28 @@
   %7B%0A    
-w
+getW
 rapped
+()
 .report(
@@ -537,10 +537,84 @@
 ue;%0A  %7D%0A
+  public ApprovalFailureReporter getWrapped()%0A  %7B%0A    return wrapped;%0A  %7D%0A
 %7D%0A

add getWrapped w/@scottbob