1 /* 2 * Copyright (c) 2007 Mockito contributors 3 * This program is made available under the terms of the MIT License. 4 */ 5 package org.mockito.exceptions.verification.junit; 6 7 @Deprecated 8 /** 9 * @Deprecated. This class has been moved to internal packages because it was never meant to be public. 10 * If you need it for extending Mockito please let us know. You can still use {@link org.mockito.internal.junit.JUnitTool}. 11 * However, the package clearly states that the class in a part of a public API so it can change. 12 */ 13 public class JUnitTool { 14 hasJUnit()15 public static boolean hasJUnit() { 16 return org.mockito.internal.junit.JUnitTool.hasJUnit(); 17 } 18 createArgumentsAreDifferentException(String message, String wanted, String actual)19 public static AssertionError createArgumentsAreDifferentException(String message, String wanted, String actual) { 20 return org.mockito.internal.junit.JUnitTool.createArgumentsAreDifferentException(message, wanted, actual); 21 } 22 }