RedUNIT\Sqlite\Foreignkeys::testIndexException PHP Метод

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

..
public testIndexException ( ) : void
Результат void
    public function testIndexException()
    {
        R::nuke();
        $book = R::dispense('book');
        $book->title = 'a';
        R::store($book);
        try {
            R::getWriter()->addIndex('book', '\'', 'title');
            pass();
        } catch (\Exception $e) {
            fail();
        }
        R::getWriter()->addIndex('book', '\'', 'title');
        pass();
    }