public function Framework_Constraint_JsonMatches_ErrorMessageProviderTest::testTranslatTypeToPrefix

@dataProvider translateTypeToPrefixDataprovider @covers PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::translateTypeToPrefix

File

drupal/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php, line 59

Class

Framework_Constraint_JsonMatches_ErrorMessageProviderTest
@package PHPUnit @author Bastian Feder <php@bastian-feder.de> @copyright 2011-2013 Bastian Feder <php@bastian-feder.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause @link …

Code

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