public function testListEnvironments()
{
if (!$this->getUser()->canManageAcl() && !$this->getUser()->isTeamOwner()) {
$this->markTestSkipped('Specified test user cannot view environments list.');
}
$content = $this->request('/environments/xListEnvironments');
$this->assertResponseDataHasKeys(array('id', 'name', 'dtAdded', 'status'), $content);
}