function it_returns_its_line_number_as_zero_if_constructed_with_closure(\ReflectionFunctionAbstract $function) { $function->isClosure()->willReturn(true); $this->getLineNumber()->shouldReturn(0); }