コード例 #1
0
 /**
  * @test
  * @group value
  * @dataProvider toStringProvider
  *
  * @param string $definition
  * @param string $stringRepresentation
  */
 public function to_string_renders_a_correctly_formattted_string_representation($definition, $stringRepresentation)
 {
     $countryCode = new CountryCode($definition);
     $this->assertSame($stringRepresentation, $countryCode->__toString());
 }