bouiboui\Tissue\TissueTest::testFromException PHP Method

testFromException() public method

Tries to create an issue from an Exception
public testFromException ( )
    public function testFromException()
    {
        try {
            throw new \ErrorException('This issue was created from an exception.');
        } catch (\ErrorException $e) {
            Tissue::setConfigPath(TEST_CONFIG_PATH);
            Tissue::createFromException($e);
        }
    }