org.jmock.integration.junit4.JUnit4Mockery Maven / Gradle / Ivy
package org.jmock.integration.junit4;
import org.jmock.Mockery;
import org.jmock.lib.AssertionErrorTranslator;
/**
* A {@link Mockery} that reports expectation errors as JUnit 4 test failures.
*
* @author nat
*/
public class JUnit4Mockery extends Mockery {
public JUnit4Mockery() {
setExpectationErrorTranslator(AssertionErrorTranslator.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy