Esempio n. 1
0
 /** @test */
 public function it_calls_a_static_method_with_the_value_as_an_argument_and_returns_the_result()
 {
     $fn = Transform::argumentTo([__CLASS__, 'staticDecrement']);
     $this->assertSame(3, $fn(4));
 }