org.mockito.session.MockitoSessionLogger 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
Mock objects library for java
/*
* Copyright (c) 2018 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.session;
import org.mockito.MockitoSession;
import org.mockito.NotExtensible;
/**
* Logger for {@linkplain org.mockito.quality.MockitoHint hints} emitted when
* finishing mocking for a {@link MockitoSession}.
*
* This class is intended to be used by framework integrations, e.g. JUnit. When using
* {@link MockitoSession} directly, you'll probably not need it.
*
* @since 2.15.0
*/
@NotExtensible
public interface MockitoSessionLogger {
/**
* Logs the hint.
*
* @param hint to log; never {@code null}
*/
void log(String hint);
}