mock_objects.php
public function findFirstAction($parameters)
    {
        $slot = $this->findFirstSlot($parameters);
        if (isset($slot) && isset($slot['content'])) {
            return $slot['content'];
        }

        return;
    }
public function findFirstAction($parameters)
    {
        $slot = $this->findFirstSlot($parameters);
        if (isset($slot) && isset($slot['content'])) {
            return $slot['content'];
        }

        return;
    }
Searches the call list for a matching parameter set. Returned by reference.

@param array $parameters    Parameters to search by without wildcards.

@return object              Object held in the first matching slot, otherwise null.