コード例 #1
0
 /**
  *
  * @param  mixed   $expected
  * @param  string  $method
  * @test
  * @dataProvider  methods
  * @since  5.0.0
  */
 public function parseNullWithDefaultReturnsDefault($expected, string $method)
 {
     $parse = new Parse(null);
     assert($parse->defaultingTo('foo')->{$method}(), equals('foo'));
 }