org.mockito.internal.listeners.AutoCleanableListener Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockito-core Show documentation
Show all versions of mockito-core Show documentation
Mockito mock objects library core API and implementation
/*
* Copyright (c) 2018 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.listeners;
/**
* Listener that is automatically cleaned up (removed from the the global list of subscribers).
* For now, we don't intend to make this interface public.
*/
public interface AutoCleanableListener {
/**
* Indicates that the listener is dirty and should be removed from the subscribers
*/
boolean isListenerDirty();
}