| @@ 42-50 (lines=9) @@ | ||
| 39 | /** |
|
| 40 | * @group DBAL-50 |
|
| 41 | */ |
|
| 42 | public function testFulfilledByUnique() |
|
| 43 | { |
|
| 44 | $idx1 = $this->createIndex(true, false); |
|
| 45 | $idx2 = $this->createIndex(true, false); |
|
| 46 | $idx3 = $this->createIndex(); |
|
| 47 | ||
| 48 | $this->assertTrue($idx1->isFullfilledBy($idx2)); |
|
| 49 | $this->assertFalse($idx1->isFullfilledBy($idx3)); |
|
| 50 | } |
|
| 51 | ||
| 52 | /** |
|
| 53 | * @group DBAL-50 |
|
| @@ 55-63 (lines=9) @@ | ||
| 52 | /** |
|
| 53 | * @group DBAL-50 |
|
| 54 | */ |
|
| 55 | public function testFulfilledByPrimary() |
|
| 56 | { |
|
| 57 | $idx1 = $this->createIndex(true, true); |
|
| 58 | $idx2 = $this->createIndex(true, true); |
|
| 59 | $idx3 = $this->createIndex(true, false); |
|
| 60 | ||
| 61 | $this->assertTrue($idx1->isFullfilledBy($idx2)); |
|
| 62 | $this->assertFalse($idx1->isFullfilledBy($idx3)); |
|
| 63 | } |
|
| 64 | ||
| 65 | /** |
|
| 66 | * @group DBAL-50 |
|