mapType() public method

Map the types that TestTask uses to concrete types that App::className can use.
public mapType ( string $type ) : string
$type string The type of thing having a test generated.
return string
コード例 #1
0
ファイル: TestTaskTest.php プロジェクト: rashmi/newrepo
 /**
  * Test that mapType returns the correct package names.
  *
  * @dataProvider mapTypeProvider
  * @return void
  */
 public function testMapType($original, $expected)
 {
     $this->assertEquals($expected, $this->Task->mapType($original));
 }