/**
* Test getName() method.
*
* @return void
*/
public function testGetTable()
{
$result = $this->Task->getTable('BakeArticles');
$this->assertEquals('bake_articles', $result);
$this->Task->params['table'] = 'bake_articles';
$result = $this->Task->getTable('Article');
$this->assertEquals('bake_articles', $result);
}