public function testWithValue() { $this->assertSame(2, with(1, function ($value) { return $value + 1; })); }