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