| 244 | } |
| 245 | |
| 246 | bool MockSupport::expectedCallsLeft() |
| 247 | { |
| 248 | int callsLeft = expectations_.hasUnfulfilledExpectations(); |
| 249 | |
| 250 | for (MockNamedValueListNode* p = data_.begin(); p; p = p->next()) |
| 251 | if (getMockSupport(p)) callsLeft += getMockSupport(p)->expectedCallsLeft(); |
| 252 | |
| 253 | return callsLeft != 0; |
| 254 | } |
| 255 | |
| 256 | bool MockSupport::wasLastActualCallFulfilled() |
| 257 | { |