Lines Matching refs:invocation
31 private final Invocation invocation; field in ExpectedInvocation
38 public ExpectedInvocation(Invocation invocation, in ExpectedInvocation() argument
40 this(invocation, matchers, null); in ExpectedInvocation()
43 private ExpectedInvocation(Invocation invocation, in ExpectedInvocation() argument
46 this.invocation = invocation; in ExpectedInvocation()
48 this.matchers = (matcher == null) ? createMissingMatchers(invocation, in ExpectedInvocation()
52 private List<IArgumentMatcher> createMissingMatchers(Invocation invocation, in createMissingMatchers() argument
55 if (matchers.size() != invocation.getArguments().length) { in createMissingMatchers()
57 + invocation.getArguments().length in createMissingMatchers()
64 for (Object argument : invocation.getArguments()) { in createMissingMatchers()
76 return this.invocation.equals(other.invocation) in equals()
89 return matchers != null ? this.invocation.getMock().equals( in matches()
91 && this.invocation.getMethod().equals(actual.getMethod()) in matches()
92 && matches(actual.getArguments()) : this.invocation.matches( in matches()
110 return matchers != null ? myToString() : invocation.toString(matcher); in toString()
115 result.append(invocation.getMockAndMethodName()); in myToString()
128 return invocation.getMethod(); in getMethod()
133 return new ExpectedInvocation(invocation, null, matcher); in withMatcher()