public function testInvokerWithoutArguments() { $fn = invoker('valueMethod'); $this->assertSame('value', $fn($this)); }