Lines Matching refs:this

59         $this->invocationMatcher = $invocationMatcher;
69 if ($this->invocationMatcher !== null) {
70 $list[] = $this->invocationMatcher->toString();
73 if ($this->methodNameMatcher !== null) {
74 $list[] = 'where ' . $this->methodNameMatcher->toString();
77 if ($this->parametersMatcher !== null) {
78 $list[] = 'and ' . $this->parametersMatcher->toString();
81 if ($this->afterMatchBuilderId !== null) {
82 $list[] = 'after ' . $this->afterMatchBuilderId;
85 if ($this->stub !== null) {
86 $list[] = 'will ' . $this->stub->toString();
99 if ($this->invocationMatcher === null) {
105 if ($this->methodNameMatcher === null) {
109 if ($this->afterMatchBuilderId !== null) {
112 ->lookupId($this->afterMatchBuilderId);
118 $this->afterMatchBuilderId
126 $this->afterMatchBuilderIsInvoked = true;
130 $this->invocationMatcher->invoked($invocation);
133 if ($this->parametersMatcher !== null &&
134 !$this->parametersMatcher->matches($invocation)) {
135 $this->parametersMatcher->verify();
141 $this->methodNameMatcher->toString(),
142 $this->invocationMatcher->toString(),
149 if ($this->stub) {
150 return $this->stub->invoke($invocation);
163 if ($this->afterMatchBuilderId !== null) {
166 ->lookupId($this->afterMatchBuilderId);
172 $this->afterMatchBuilderId
188 if ($this->invocationMatcher === null) {
194 if ($this->methodNameMatcher === null) {
198 if (!$this->invocationMatcher->matches($invocation)) {
203 if (!$this->methodNameMatcher->matches($invocation)) {
210 $this->methodNameMatcher->toString(),
211 $this->invocationMatcher->toString(),
227 if ($this->invocationMatcher === null) {
233 if ($this->methodNameMatcher === null) {
238 $this->invocationMatcher->verify();
240 if ($this->parametersMatcher === null) {
241 $this->parametersMatcher = new PHPUnit_Framework_MockObject_Matcher_AnyParameters;
244 …$invocationIsAny = $this->invocationMatcher instanceof PHPUnit_Framework_MockObject_Matcher_AnyI…
245 …$invocationIsNever = $this->invocationMatcher instanceof PHPUnit_Framework_MockObject_Matcher_Invo…
248 $this->parametersMatcher->verify();
254 $this->methodNameMatcher->toString(),
255 $this->invocationMatcher->toString(),
267 if ($this->invocationMatcher !== null &&
268 … !$this->invocationMatcher instanceof PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount) {