'full', 'START' => 'start']; $values = PatternType::getAll(); $this->assertEquals($expectedValues, $values); } /** * @covers ::getKey */ public function testGetKey() { $key = PatternType::getKey('full'); $this->assertEquals('FULL', $key); $key = PatternType::getKey('invalid'); $this->assertEquals(false, $key); } /** * @covers ::exists */ public function testExists() { $result = PatternType::exists('start'); $this->assertEquals(true, $result); $result = PatternType::exists('invalid'); $this->assertEquals(false, $result); } /** * @covers ::assertExists */ public function testAssertExists() { $this->expectExceptionMessage("\"invalid\" is not a valid PatternType value."); $this->expectException(\InvalidArgumentException::class); $result = PatternType::assertExists('invalid'); } /** * @covers ::assertAllExist */ public function testAssertAllExist() { $this->expectExceptionMessage("\"invalid\" is not a valid PatternType value."); $this->expectException(\InvalidArgumentException::class); $result = PatternType::assertAllExist(['start', 'invalid']); } } __halt_compiler();----SIGNATURE:----rKwHsJEDCuTEqVe5wu9AkZYd1lo0wxNcHAz9rbavLnYOAHQer66CoRhIas7QaunnXRD1HuMakNTo7glVizS6CA15mdM6GtLO9qlqEOfQciiV4t6E7ylcvjF8yM6MRmWObDkEfkKhLl2euSQRrxs8gDrJqs5BjsAGImT83WBsZWXM3IVFGlWY/+589NiFA5CiyrXCWPqAZcR4ztz9vq+N2MuXFdRE9fXIQyNBBv8OsIMOqa/Swtu+w6EdTwA+2W3UJRBV+fxn7bThsnpNJY9g2+H2irkCrrhg7QcivfRJQHYNRvBUdjBqd4xx79cLegURIRXFjkbFImiCR4pSVkBWawLn0y7kA9zrO6emmihXN3tw4+ayEerXr3oP+w+f8jWAS0JfnaopvcXSS6YHPIiNQDtEOjWpro0b00r/b5lIUz9izF64D9xXMGluVU7taDpAC+BrBeeTpG/9HEYBzYLlpZfoxAitN8iKm9sdZueRb12ceHLSwtmYSp/kHMtlCfAV6x5LVoCEI483o/Z6YOylf5XBNVumxS+q5B8qAK/7bFevCcSRK/oyQH42RaP2QWWqKzEiwpm8Cb/NidHvJpXcmnE2lyXk34AZ3tyXFtxKdnSlb7fafkqfIxe/MfVp3ng7kfLHMBcSqlmVwV9tbMt1KqM+t+RpToWk+tEFnMWCHaw=----ATTACHMENT:----MTQ5ODkwNzY2MTE2MTYzOSA1OTIzNDgxNDc1MTkzMDc5IDkxNTQ4ODU4Mjg1ODg1NTY=