/**
  * @test
  */
 public function batchAccessLevel_ChangeBatchAccessLevel_AccessLevelChanged()
 {
     $salt = rand();
     $articleName = 'Test Article ' . $salt;
     $newAccessLevel = 'Special';
     $cpPage = $this->doAdminLogin();
     $this->articleManagerPage = $cpPage->clickMenu('Article Manager', 'ArticleManagerPage');
     $this->articleManagerPage->addArticle($articleName, 'Uncategorised', array('text' => '<p>This is a test.</p>'));
     $this->articleManagerPage->changeAccessLevel($articleName, $newAccessLevel);
     $currentAccessLevel = $this->articleManagerPage->getAccessLevel($articleName);
     $this->assertEquals($newAccessLevel, $currentAccessLevel, 'Current Access Level Should have changed to Special');
     $this->articleManagerPage->changeAccessLevel($articleName, 'Public');
     $currentAccessLevel = $this->articleManagerPage->getAccessLevel($articleName);
     $this->assertEquals('Public', $currentAccessLevel, 'Current Access Level Should have changed back to public');
     $this->articleManagerPage->trashAndDelete($articleName);
 }