You are here

public function Framework_Constraint_JsonMatches_ErrorMessageProviderTest::testTranslateTypeToPrefix in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php \Framework_Constraint_JsonMatches_ErrorMessageProviderTest::testTranslateTypeToPrefix()

@dataProvider translateTypeToPrefixDataprovider @covers PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::translateTypeToPrefix

File

vendor/phpunit/phpunit/tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php, line 20

Class

Framework_Constraint_JsonMatches_ErrorMessageProviderTest
@since File available since Release 3.7.0

Code

public function testTranslateTypeToPrefix($expected, $type) {
  $this
    ->assertEquals($expected, PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::translateTypeToPrefix($type));
}