org.mockito.exceptions.verification.junit.JUnitTool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockito-all Show documentation
Show all versions of mockito-all Show documentation
Mock objects library for java
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.exceptions.verification.junit;
@Deprecated
/**
* @Deprecated. This class has been moved to internal packages because it was never meant to be public.
* If you need it for extending Mockito please let us know. You can still use {@link org.mockito.internal.junit.JUnitTool}.
* However, the package clearly states that the class in a part of a public API so it can change.
*/
public class JUnitTool {
public static boolean hasJUnit() {
return org.mockito.internal.junit.JUnitTool.hasJUnit();
}
public static AssertionError createArgumentsAreDifferentException(String message, String wanted, String actual) {
return org.mockito.internal.junit.JUnitTool.createArgumentsAreDifferentException(message, wanted, actual);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy