/** @test */ public function it_calls_the_method_and_returns_the_value() { $fn = Transform::callMethod('getValue'); $this->assertSame(123, $fn(new MethodReturning(123))); }