All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fitbur.mockito.internal.junit.JUnitTool Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
/*
 * Copyright (c) 2007 Mockito contributors
 * This program is made available under the terms of the MIT License.
 */
package com.fitbur.mockito.internal.junit;

public class JUnitTool {

    private static JUnitDetecter detecter = new JUnitDetecter();

    public static boolean hasJUnit() {
        return detecter.hasJUnit();
    }

    public static AssertionError createArgumentsAreDifferentException(String message, String wanted, String actual)  {
        return new FriendlyExceptionMaker(detecter).createArgumentsAreDifferentException(message, wanted, actual);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy