DatabaseTestCase.php
54 return ObjectFactory::getInstance('persistenceFacade')->getMapper($type)->executeSql($sql, $parameters);
run(\PHPUnit_Framework_TestResult $result=null)
Definition: DatabaseTestCase.php:35
DatabaseTestCase is the base class for test cases that need database support.
Definition: DatabaseTestCase.php:21
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
static createDatabase()
Create the test database, if sqlite is configured.
Definition: TestUtil.php:65
TestUtil provides helper methods for testing wCMF functionality.
Definition: TestUtil.php:25
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24
executeSql($type, $sql, $parameters=[])
Definition: DatabaseTestCase.php:53