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

org.mockito.junit.MockitoJUnit Maven / Gradle / Ivy

There is a newer version: 2.0.2-beta
Show newest version
package org.mockito.junit;

/**
 * The JUnit rule can be used instead of {@link org.mockito.runners.MockitoJUnitRunner}. See {@link MockitoRule}.
 *
 * @since 1.10.17
 */
public class MockitoJUnit {

    /**
     * Creates rule instance that initiates @Mocks
     * See {@link MockitoRule}.
     *
     * @return the rule instance
     */
    public static MockitoRule rule() {
        return new MockitoJUnitRule();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy