Plum\Plum\Result::getExceptions PHP Метод

getExceptions() публичный Метод

public getExceptions ( ) : Exception[]
Результат Exception[]
    public function getExceptions()
    {
        return $this->exceptions;
    }

Usage Example

Пример #1
0
 /**
  * @test
  * @covers Plum\Plum\Result::addException()
  * @covers Plum\Plum\Result::getExceptions()
  * @covers Plum\Plum\Result::getErrorCount()
  */
 public function addExceptionShouldAddException()
 {
     $exception = new Exception();
     $this->assertInstanceOf('Plum\\Plum\\Result', $this->result->addException($exception));
     $this->assertContains($exception, $this->result->getExceptions());
     $this->assertEquals(1, $this->result->getErrorCount());
 }
All Usage Examples Of Plum\Plum\Result::getExceptions