Searched refs:SafeJUnitRule (Results 1 – 6 of 6) sorted by relevance
14 import org.mockitoutil.SafeJUnitRule;24 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));30 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_unused_stubs_reported_on_failure()45 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in stubbing_arg_mismatch_on_failure()64 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_stubbing_arg_mismatch_when_no_mismatch_on_fail()94 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in multiple_stubbing_arg_mismatch_on_failure()122 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in reports_only_mismatching_stubs()146 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in no_mismatch_when_stub_was_used()
17 import org.mockitoutil.SafeJUnitRule;29 …@Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule().strictness(Strictness.STRI…83 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in fails_fast_when_stubbing_invoked_with_different_argument()137 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in unused_stubs_with_multiple_mocks()
15 import org.mockitoutil.SafeJUnitRule;25 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN));
19 SafeJUnitRule rule = new SafeJUnitRule(delegate);69 } catch (SafeJUnitRule.ExpectedThrowableNotReported t) { in expected_exception_but_no_exception()110 rule.expectFailure(new SafeJUnitRule.FailureAssert() { in expected_exception_assert_did_not_match()
17 public class SafeJUnitRule implements MethodRule { class26 public SafeJUnitRule(MethodRule testedRule) { in SafeJUnitRule() method in SafeJUnitRule
14 import org.mockitoutil.SafeJUnitRule;22 @Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule());