Class JMockRule

  • All Implemented Interfaces:
    org.hamcrest.SelfDescribing, org.junit.rules.MethodRule

    @Deprecated
    public class JMockRule
    extends org.jmock.integration.junit4.JUnitRuleMockery
    Deprecated.
    we're now standardizing on Mockito, use Mockito instead!
    Extends the JMock Rule for setting up JMock and configures it for Thread safety.
    Since:
    4.3.1
    Version:
    $Id: 405a4f92c7d0c8d19f190f8d952878181a3f758a $
    • Constructor Summary

      Constructors 
      Constructor Description
      JMockRule()
      Deprecated.
       
    • Constructor Detail

      • JMockRule

        public JMockRule()
        Deprecated.
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runners.model.FrameworkMethod method,
                                                       Object target)
        Deprecated.
        Specified by:
        apply in interface org.junit.rules.MethodRule
        Overrides:
        apply in class org.jmock.integration.junit4.JUnitRuleMockery