Completed
Branch output_parsers_refactor (d2cb12)
by Alessandro
02:20
created

SQLiteDeadLockTestStub   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
rs 10
1
<?php
2
3
namespace Paraunit\Tests\Stub;
4
5
/**
6
 * Class SQLiteDeadLockTestStub
7
 * @package Paraunit\Tests\Stub
8
 */
9
class SQLiteDeadLockTestStub extends BrokenTestBase implements BrokenTestInterface
10
{
11
    const OUTPUT = 'SQLSTATE[HY000]: General error: 5 database is locked (SQL: insert into "wallets" ("name", "user_id", "updated_at", "created_at") values (test_wallet, 1, 2015-11-25 21:07:38, 2015-11-25 21:07:38))';
12
13
    /**
14
     * @throws \Exception
15
     */
16
    public function testBrokenTest()
17
    {
18
        throw new \Exception(self::OUTPUT);
19
    }
20
}
21