getStatusList() public static method

public static getStatusList ( ) : array
return array
 public function testGetClass()
 {
     $renderer = new InvoiceStatusRenderer();
     $invoice = $this->getMock('Sonata\\Component\\Invoice\\InvoiceInterface');
     $invoice->expects($this->once())->method('getStatus')->will($this->returnValue(array_rand(BaseInvoice::getStatusList())));
     $this->assertContains($renderer->getStatusClass($invoice, '', 'error'), array('danger', 'warning', 'success'));
 }