protected function setUp()
{
$app = new Application();
$app->register(new DoctrineServiceProvider(), ['dbs.options' => ['default' => ['host' => '127.0.0.1', 'dbname' => 'crudTest', 'user' => 'root', 'password' => '', 'charset' => 'utf8']]]);
$this->crudFile = __DIR__ . '/../crud.yml';
$this->dataFactory = new MySQLDataFactory($app['db']);
$fileProcessorHandle = Phony::mock('\\CRUDlex\\SimpleFilesystemFileProcessor');
$this->fileProcessorMock = $fileProcessorHandle->get();
}