public function getEnvironments()
{
if (empty($this->_environments)) {
/** The mock environment provides our basic test scenario */
$this->_environments = array(self::ENVIRONMENT_MOCK);
$testing = getenv('KOLAB_TEST');
if (!empty($testing)) {
$this->_environments[] = array(self::ENVIRONMENT_REAL);
}
}
return $this->_environments;
}