Sets up Drupal unit test environment.
Overrides DrupalUnitTestBase::setUp
DrupalUnitTestBase::$modules
protected function setUp() {
parent::setUp();
// Install field configuration.
$this
->installConfig(array(
'field',
));
// The users table is needed for creating dummy user accounts.
$this
->installSchema('user', array(
'users',
));
// Register entity_test text field.
entity_test_install();
}