getStatus() public method

Gets the status of the index.
public getStatus ( ) : string
return string green, yellow or red.
 public function testGetStatus()
 {
     $this->assertEquals('yellow', $this->_index->getStatus());
 }