CRUDlexTests\ServiceProviderTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    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();
    }