public it_returns_null_if_constructed_with_empty_array ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method ) | ||
$object | Prophecy\Prophecy\ObjectProphecy | |
$method | Prophecy\Prophecy\MethodProphecy |
function it_returns_null_if_constructed_with_empty_array(ObjectProphecy $object, MethodProphecy $method)
{
$this->beConstructedWith(array());
$this->execute(array(), $object, $method)->shouldReturn(null);
}