src/Matcher/ToReceive.php
public function resolve()
    {
        $startIndex = $this->_ordered ? Calls::lastFindIndex() : 0;
        $report = Calls::find($this->_messages, $startIndex, $this->times());
        $this->_report = $report;
        $this->_buildDescription($startIndex);
        return $report['success'];
    }
public function resolve()
    {
        $startIndex = $this->_ordered ? Calls::lastFindIndex() : 0;
        $report = Calls::find($this->_messages, $startIndex, $this->times());
        $this->_report = $report;
        $this->_buildDescription($startIndex);
        return $report['success'];
    }
public function resolve ( ) { $ startIndex = $ this -> _ordered ? Calls :: lastFindIndex ( ) : 0 ; $ report = Calls :: find ( $ this -> _messages , $ startIndex , $ this -> times ( ) ) ; $ this -> _report = $ report ; $ this -> _buildDescription ( $ startIndex ) ; return $ report [ 'success' ] ; }
Resolves the matching.

@return boolean Returns `true` if successfully resolved, `false` otherwise.
Resolves the matching .