MockitoJUnit
Date: 2015-09-18

org.mockito.junit

## Class MockitoJUnit

- java.lang.Object
- - org.mockito.junit.MockitoJUnit

-     public class MockitoJUnit
      extends java.lang.Object

  The JUnit rule can be used instead of `MockitoJUnitRunner`. See `MockitoRule`.
  Since:
    1.10.17

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MockitoJUnit()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static MockitoRule` | `rule()` Creates rule instance that initiates @Mocks See `MockitoRule`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MockitoJUnit

          public MockitoJUnit()

  - ### Method Detail

    - #### rule

          public static MockitoRule rule()

      Creates rule instance that initiates @Mocks See `MockitoRule`.
      Returns:
        the rule instance