function let(ReflectionFunctionAbstract $function) { $function->isClosure()->willReturn(false); $this->beConstructedWith('example node', $function); }