diff --git a/autodispose/src/test/java/com/uber/autodispose/AutoDisposeCompletableObserverTest.java b/autodispose/src/test/java/com/uber/autodispose/AutoDisposeCompletableObserverTest.java index f846ef7c3..3ace06dfb 100755 --- a/autodispose/src/test/java/com/uber/autodispose/AutoDisposeCompletableObserverTest.java +++ b/autodispose/src/test/java/com/uber/autodispose/AutoDisposeCompletableObserverTest.java @@ -47,15 +47,15 @@ public class AutoDisposeCompletableObserverTest { - private final AtomicReference atomicObserver = new AtomicReference<>(); - private final AtomicReference atomicAutoDisposingObserver = new AtomicReference<>(); - private static final RecordingObserver.Logger LOGGER = new RecordingObserver.Logger() { @Override public void log(String message) { System.out.println(AutoDisposeCompletableObserverTest.class.getSimpleName() + ": " + message); } }; + private final AtomicReference atomicObserver = new AtomicReference<>(); + private final AtomicReference atomicAutoDisposingObserver = new AtomicReference<>(); + @After public void resetPlugins() { AutoDisposePlugins.reset(); } diff --git a/autodispose/src/test/java/com/uber/autodispose/AutoDisposeObserverTest.java b/autodispose/src/test/java/com/uber/autodispose/AutoDisposeObserverTest.java index 3ac357ddf..65aed5b3d 100755 --- a/autodispose/src/test/java/com/uber/autodispose/AutoDisposeObserverTest.java +++ b/autodispose/src/test/java/com/uber/autodispose/AutoDisposeObserverTest.java @@ -42,15 +42,15 @@ public class AutoDisposeObserverTest { - private final AtomicReference atomicObserver = new AtomicReference(); - private final AtomicReference atomicAutoDisposingObserver = new AtomicReference<>(); - private static final RecordingObserver.Logger LOGGER = new RecordingObserver.Logger() { @Override public void log(String message) { System.out.println(AutoDisposeObserverTest.class.getSimpleName() + ": " + message); } }; + private final AtomicReference atomicObserver = new AtomicReference(); + private final AtomicReference atomicAutoDisposingObserver = new AtomicReference<>(); + @After public void resetPlugins() { AutoDisposePlugins.reset(); }