Searched refs:SafeJUnitRule (Results 1 – 6 of 6) sorted by relevance
10 import org.mockitoutil.SafeJUnitRule;20 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));26 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_unused_stubs_reported_on_failure()41 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in stubbing_arg_mismatch_on_failure()60 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_stubbing_arg_mismatch_when_no_mismatch_on_fail()90 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in multiple_stubbing_arg_mismatch_on_failure()118 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in reports_only_mismatching_stubs()142 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_mismatch_when_stub_was_used()
13 import org.mockitoutil.SafeJUnitRule;23 …@Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule().strictness(Strictness.STRI…77 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in fails_fast_when_stubbing_invoked_with_different_argument()131 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in unused_stubs_with_multiple_mocks()
11 import org.mockitoutil.SafeJUnitRule;21 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));
15 SafeJUnitRule rule = new SafeJUnitRule(delegate);65 } catch (SafeJUnitRule.ExpectedThrowableNotReported t) { in expected_exception_but_no_exception()106 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in expected_exception_assert_did_not_match()
13 public class SafeJUnitRule implements MethodRule { class22 public SafeJUnitRule(MethodRule testedRule) { in SafeJUnitRule() method in SafeJUnitRule
10 import org.mockitoutil.SafeJUnitRule;18 @Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule());