diff --git a/README.md b/README.md index 3420bc90..ce841ce0 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ class MatcherTest extends TestCase * ``@*@`` || ``@wildcard@`` * ``expr(expression)`` - **optional**, requires `symfony/expression-language: ^2.3|^3.0|^4.0|^5.0` to be present * ``@uuid@`` +* ``@ulid@`` * ``@json@`` * ``@string@||@integer@`` - string OR integer @@ -336,6 +337,18 @@ $matcher = new PHPMatcher(); $matcher->match('9f4db639-0e87-4367-9beb-d64e3f42ae18', '@uuid@'); ``` +### ULID matching + +```php +match('01BX5ZZKBKACTAV9WEVGEMMVS0', '@ulid@'); +``` + ### Array matching ```php diff --git a/src/Factory/MatcherFactory.php b/src/Factory/MatcherFactory.php index 397aca6e..567c20c4 100644 --- a/src/Factory/MatcherFactory.php +++ b/src/Factory/MatcherFactory.php @@ -87,6 +87,7 @@ private function buildScalarMatchers(Parser $parser, Backtrace $backtrace) : Mat new Matcher\ScalarMatcher($backtrace), new Matcher\WildcardMatcher($backtrace), new Matcher\UuidMatcher($backtrace, $parser), + new Matcher\UlidMatcher($backtrace, $parser), new Matcher\JsonObjectMatcher($backtrace, $parser), ] ); diff --git a/src/Matcher/Pattern/RegexConverter.php b/src/Matcher/Pattern/RegexConverter.php index 52bb85a9..eda88060 100644 --- a/src/Matcher/Pattern/RegexConverter.php +++ b/src/Matcher/Pattern/RegexConverter.php @@ -5,6 +5,7 @@ namespace Coduo\PHPMatcher\Matcher\Pattern; use Coduo\PHPMatcher\Exception\UnknownTypeException; +use Coduo\PHPMatcher\Matcher\UlidMatcher; use Coduo\PHPMatcher\Matcher\UuidMatcher; final class RegexConverter @@ -24,6 +25,8 @@ public function toRegex(TypePattern $typePattern) : string return '(\\-?[0-9]*[\\.|\\,][0-9]*)'; case 'uuid': return '(' . UuidMatcher::UUID_PATTERN . ')'; + case 'ulid': + return '(' . UlidMatcher::ULID_PATTERN . ')'; default: throw new UnknownTypeException($typePattern->getType()); diff --git a/src/Matcher/UlidMatcher.php b/src/Matcher/UlidMatcher.php new file mode 100644 index 00000000..a66bb779 --- /dev/null +++ b/src/Matcher/UlidMatcher.php @@ -0,0 +1,117 @@ +parser = $parser; + $this->backtrace = $backtrace; + } + + public function match($value, $pattern) : bool + { + $this->backtrace->matcherEntrance(self::class, $value, $pattern); + + if (!\is_string($value)) { + $this->error = \sprintf( + '%s "%s" is not a valid ULID: not a string.', + \gettype($value), + new StringConverter($value) + ); + $this->backtrace->matcherFailed(self::class, $value, $pattern, $this->error); + + return false; + } + + if (\strlen($value) !== \strspn($value, '0123456789ABCDEFGHJKMNPQRSTVWXYZabcdefghjkmnpqrstvwxyz')) { + $this->error = \sprintf( + '%s "%s" is not a valid ULID: invalid characters.', + \gettype($value), + new StringConverter($value) + ); + $this->backtrace->matcherFailed(self::class, $value, $pattern, $this->error); + + return false; + } + + if (26 < \strlen($value)) { + $this->error = \sprintf( + '%s "%s" is not a valid ULID: too long.', + \gettype($value), + new StringConverter($value) + ); + $this->backtrace->matcherFailed(self::class, $value, $pattern, $this->error); + + return false; + } + + if (26 > \strlen($value)) { + $this->error = \sprintf( + '%s "%s" is not a valid ULID: too short.', + \gettype($value), + new StringConverter($value) + ); + $this->backtrace->matcherFailed(self::class, $value, $pattern, $this->error); + + return false; + } + + // Largest valid ULID is '7ZZZZZZZZZZZZZZZZZZZZZZZZZ' + // Cf https://github.com/ulid/spec#overflow-errors-when-parsing-base32-strings + if ($value[0] > '7') { + $this->error = \sprintf( + '%s "%s" is not a valid ULID: overflow.', + \gettype($value), + new StringConverter($value) + ); + $this->backtrace->matcherFailed(self::class, $value, $pattern, $this->error); + + return false; + } + + $this->backtrace->matcherSucceed(self::class, $value, $pattern); + + return true; + } + + public function canMatch($pattern) : bool + { + if (!\is_string($pattern)) { + $this->backtrace->matcherCanMatch(self::class, $pattern, false); + + return false; + } + + $result = $this->parser->hasValidSyntax($pattern) && $this->parser->parse($pattern)->is(self::PATTERN); + $this->backtrace->matcherCanMatch(self::class, $pattern, $result); + + return $result; + } +} diff --git a/tests/BacktraceTest/failed_complex_matching_expected_trace.txt b/tests/BacktraceTest/failed_complex_matching_expected_trace.txt index 332ea941..b6fa41fd 100644 --- a/tests/BacktraceTest/failed_complex_matching_expected_trace.txt +++ b/tests/BacktraceTest/failed_complex_matching_expected_trace.txt @@ -20,299 +20,305 @@ #20 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". #21 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" #22 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#23 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#24 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#25 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#26 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher can match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#27 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher matching value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#28 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher matching value "Array(3)" with "Array(3)" pattern -#29 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(2)" -#30 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(2)" with "Array(2)" pattern -#31 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(2)" -#32 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(2)" -#33 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(2)" with "Array(2)" pattern -#34 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(2)" -#35 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(2)" -#36 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(2)" -#37 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(2)" -#38 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(2)" -#39 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(2)" -#40 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(2)" -#41 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(2)" -#42 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(2)" -#43 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(2)" -#44 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(2)" -#45 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(2)" -#46 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(2)" -#47 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(2)" -#48 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(2)" -#49 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(2)" -#50 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(2)" with "Array(2)" pattern -#51 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#52 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(2)" -#53 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(2)" with "Array(2)" pattern -#54 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#55 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(5)" -#56 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(5)" with "Array(5)" pattern -#57 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(5)" -#58 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(5)" -#59 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(5)" with "Array(5)" pattern -#60 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(5)" -#61 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(5)" -#62 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(5)" -#63 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(5)" -#64 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(5)" -#65 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(5)" -#66 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(5)" -#67 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(5)" -#68 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(5)" -#69 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(5)" -#70 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(5)" -#71 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(5)" -#72 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(5)" -#73 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(5)" -#74 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(5)" -#75 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(5)" -#76 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(5)" with "Array(5)" pattern -#77 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#78 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(5)" -#79 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(5)" with "Array(5)" pattern -#80 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#81 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" -#82 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "131" with "@integer@" pattern -#83 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" -#84 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" -#85 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "131" with "@integer@" pattern -#86 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" -#87 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" -#88 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" -#89 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" -#90 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" -#91 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "131" with "@integer@" pattern -#92 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher successfully matched value "131" with "@integer@" pattern -#93 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "131" with "@integer@" pattern -#94 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "131" with "@integer@" pattern -#95 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Norbert" -#96 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Norbert" with "Norbert" pattern -#97 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Norbert" -#98 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Norbert" -#99 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Norbert" with "Norbert" pattern -#100 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Norbert" -#101 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Norbert" -#102 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Norbert" -#103 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Norbert" -#104 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Norbert" -#105 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Norbert" -#106 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Norbert" -#107 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Norbert" -#108 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Norbert" -#109 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Norbert" -#110 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Norbert" -#111 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Norbert" -#112 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Norbert" -#113 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Norbert" with "Norbert" pattern -#114 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Norbert" with "Norbert" pattern -#115 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Norbert" with "Norbert" pattern -#116 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Norbert" with "Norbert" pattern -#117 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Orzechowicz" -#118 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Orzechowicz" with "Orzechowicz" pattern -#119 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Orzechowicz" -#120 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Orzechowicz" -#121 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Orzechowicz" with "Orzechowicz" pattern -#122 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Orzechowicz" -#123 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Orzechowicz" -#124 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Orzechowicz" -#125 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Orzechowicz" -#126 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Orzechowicz" -#127 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Orzechowicz" -#128 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Orzechowicz" -#129 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Orzechowicz" -#130 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Orzechowicz" -#131 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Orzechowicz" -#132 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Orzechowicz" -#133 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Orzechowicz" -#134 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Orzechowicz" -#135 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Orzechowicz" with "Orzechowicz" pattern -#136 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Orzechowicz" with "Orzechowicz" pattern -#137 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Orzechowicz" with "Orzechowicz" pattern -#138 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Orzechowicz" with "Orzechowicz" pattern -#139 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@boolean@" -#140 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "true" with "@boolean@" pattern -#141 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@boolean@" -#142 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@boolean@" -#143 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "true" with "@boolean@" pattern -#144 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@boolean@" -#145 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@boolean@" -#146 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@boolean@" -#147 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@boolean@" -#148 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@boolean@" -#149 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can match pattern "@boolean@" -#150 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher matching value "true" with "@boolean@" pattern -#151 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher successfully matched value "true" with "@boolean@" pattern -#152 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "true" with "@boolean@" pattern -#153 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "true" with "@boolean@" pattern -#154 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@array@.isEmpty()" -#155 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(0)" with "@array@.isEmpty()" pattern -#156 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@array@.isEmpty()" -#157 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@array@.isEmpty()" -#158 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(0)" with "@array@.isEmpty()" pattern -#159 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@array@.isEmpty()" -#160 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@array@.isEmpty()" -#161 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@array@.isEmpty()" -#162 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@array@.isEmpty()" -#163 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@array@.isEmpty()" -#164 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "@array@.isEmpty()" -#165 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "@array@.isEmpty()" -#166 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "@array@.isEmpty()" -#167 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "@array@.isEmpty()" -#168 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "@array@.isEmpty()" -#169 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "@array@.isEmpty()" -#170 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "@array@.isEmpty()" -#171 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "@array@.isEmpty()" -#172 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Array(0)" with "@array@.isEmpty()" pattern -#173 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "Array(0)" with "@array@.isEmpty()" pattern -#174 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "Array(0)" does not match "@array@.isEmpty()". -#175 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "@array@.isEmpty()" -#176 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "@array@.isEmpty()" -#177 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "@array@.isEmpty()" -#178 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(0)" with "@array@.isEmpty()" pattern -#179 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(0)" does not match "@array@.isEmpty()". -#180 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "@array@.isEmpty()" -#181 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "Array(0)" with "@array@.isEmpty()" pattern -#182 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "Array(0)" with "@array@.isEmpty()" pattern -#183 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: array "Array(0)" is not a valid string. -#184 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(0)" with "@array@.isEmpty()" pattern -#185 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: array "Array(0)" is not a valid string. -#186 Expander isEmpty matching value "Array(0)" -#187 Expander isEmpty successfully matched value "Array(0)" -#188 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher successfully matched value "Array(0)" with "@array@.isEmpty()" pattern -#189 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(5)" -#190 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(5)" with "Array(5)" pattern -#191 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(5)" -#192 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(5)" -#193 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(5)" with "Array(5)" pattern -#194 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(5)" -#195 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(5)" -#196 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(5)" -#197 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(5)" -#198 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(5)" -#199 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(5)" -#200 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(5)" -#201 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(5)" -#202 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(5)" -#203 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(5)" -#204 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(5)" -#205 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(5)" -#206 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(5)" -#207 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(5)" -#208 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(5)" -#209 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(5)" -#210 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(5)" with "Array(5)" pattern -#211 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(0)" does not match "@array@.isEmpty()". -#212 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(5)" -#213 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(5)" with "Array(5)" pattern -#214 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "Array(0)" does not match "@array@.isEmpty()". -#215 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" -#216 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "132" with "@integer@" pattern -#217 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" -#218 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" -#219 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "132" with "@integer@" pattern -#220 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" -#221 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" -#222 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" -#223 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" -#224 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" -#225 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "132" with "@integer@" pattern -#226 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher successfully matched value "132" with "@integer@" pattern -#227 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "132" with "@integer@" pattern -#228 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "132" with "@integer@" pattern -#229 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Michał" -#230 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Michał" with "Michał" pattern -#231 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Michał" -#232 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Michał" -#233 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Michał" with "Michał" pattern -#234 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Michał" -#235 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Michał" -#236 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Michał" -#237 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Michał" -#238 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Michał" -#239 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Michał" -#240 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Michał" -#241 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Michał" -#242 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Michał" -#243 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Michał" -#244 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Michał" -#245 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Michał" -#246 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Michał" -#247 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Michał" with "Michał" pattern -#248 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Michał" with "Michał" pattern -#249 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Michał" with "Michał" pattern -#250 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Michał" with "Michał" pattern -#251 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Dąbrowski" -#252 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Dąbrowski" with "Dąbrowski" pattern -#253 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Dąbrowski" -#254 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Dąbrowski" -#255 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Dąbrowski" with "Dąbrowski" pattern -#256 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Dąbrowski" -#257 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Dąbrowski" -#258 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Dąbrowski" -#259 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Dąbrowski" -#260 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Dąbrowski" -#261 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Dąbrowski" -#262 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Dąbrowski" -#263 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Dąbrowski" -#264 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Dąbrowski" -#265 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Dąbrowski" -#266 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Dąbrowski" -#267 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Dąbrowski" -#268 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Dąbrowski" -#269 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Dąbrowski" with "Dąbrowski" pattern -#270 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Dąbrowski" with "Dąbrowski" pattern -#271 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Dąbrowski" with "Dąbrowski" pattern -#272 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Dąbrowski" with "Dąbrowski" pattern -#273 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "expr(value == true)" -#274 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "false" with "expr(value == true)" pattern -#275 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "expr(value == true)" -#276 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "expr(value == true)" -#277 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "false" with "expr(value == true)" pattern -#278 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "expr(value == true)" -#279 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can match pattern "expr(value == true)" -#280 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher matching value "false" with "expr(value == true)" pattern -#281 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher failed to match value "false" with "expr(value == true)" pattern -#282 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher error: "expr(value == true)" expression fails for value "false". -#283 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "expr(value == true)" -#284 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "expr(value == true)" -#285 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "expr(value == true)" -#286 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "expr(value == true)" -#287 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "expr(value == true)" -#288 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "expr(value == true)" -#289 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "expr(value == true)" -#290 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "expr(value == true)" -#291 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "expr(value == true)" -#292 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "expr(value == true)" -#293 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "expr(value == true)" -#294 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "false" with "expr(value == true)" pattern -#295 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "false" with "expr(value == true)" pattern -#296 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "false" does not match "expr(value == true)". -#297 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "expr(value == true)" -#298 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "expr(value == true)" -#299 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "expr(value == true)" -#300 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "false" with "expr(value == true)" pattern -#301 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "false" does not match "expr(value == true)". -#302 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "expr(value == true)" -#303 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "false" with "expr(value == true)" pattern -#304 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "false" with "expr(value == true)" pattern -#305 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: boolean "false" is not a valid string. -#306 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "false" with "expr(value == true)" pattern -#307 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: boolean "false" is not a valid string. -#308 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher failed to match value "Array(3)" with "Array(3)" pattern -#309 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher error: Value "false" does not match pattern "expr(value == true)" at path: "[users][1][enabled]" -#310 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#311 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher error: Value "false" does not match pattern "expr(value == true)" at path: "[users][1][enabled]" -#312 Matcher Coduo\PHPMatcher\Matcher\XmlMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#313 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#314 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#315 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#316 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) error: Value "false" does not match pattern "expr(value == true)" at path: "[users][1][enabled]" -#317 Matcher Coduo\PHPMatcher\Matcher failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#318 Matcher Coduo\PHPMatcher\Matcher error: Value "false" does not match pattern "expr(value == true)" at path: "[users][1][enabled]" \ No newline at end of file +#23 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#24 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#25 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#26 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#27 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher can match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#28 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher matching value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#29 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher matching value "Array(3)" with "Array(3)" pattern +#30 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(2)" +#31 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(2)" with "Array(2)" pattern +#32 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(2)" +#33 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(2)" +#34 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(2)" with "Array(2)" pattern +#35 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(2)" +#36 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(2)" +#37 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(2)" +#38 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(2)" +#39 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(2)" +#40 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(2)" +#41 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(2)" +#42 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(2)" +#43 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(2)" +#44 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(2)" +#45 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(2)" +#46 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(2)" +#47 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(2)" +#48 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(2)" +#49 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(2)" +#50 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "Array(2)" +#51 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(2)" +#52 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(2)" with "Array(2)" pattern +#53 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#54 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(2)" +#55 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(2)" with "Array(2)" pattern +#56 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#57 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(5)" +#58 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(5)" with "Array(5)" pattern +#59 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(5)" +#60 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(5)" +#61 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(5)" with "Array(5)" pattern +#62 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(5)" +#63 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(5)" +#64 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(5)" +#65 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(5)" +#66 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(5)" +#67 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(5)" +#68 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(5)" +#69 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(5)" +#70 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(5)" +#71 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(5)" +#72 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(5)" +#73 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(5)" +#74 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(5)" +#75 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(5)" +#76 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(5)" +#77 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "Array(5)" +#78 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(5)" +#79 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(5)" with "Array(5)" pattern +#80 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#81 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(5)" +#82 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(5)" with "Array(5)" pattern +#83 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#84 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" +#85 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "131" with "@integer@" pattern +#86 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" +#87 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" +#88 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "131" with "@integer@" pattern +#89 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" +#90 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" +#91 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" +#92 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" +#93 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" +#94 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "131" with "@integer@" pattern +#95 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher successfully matched value "131" with "@integer@" pattern +#96 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "131" with "@integer@" pattern +#97 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "131" with "@integer@" pattern +#98 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Norbert" +#99 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Norbert" with "Norbert" pattern +#100 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Norbert" +#101 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Norbert" +#102 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Norbert" with "Norbert" pattern +#103 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Norbert" +#104 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Norbert" +#105 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Norbert" +#106 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Norbert" +#107 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Norbert" +#108 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Norbert" +#109 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Norbert" +#110 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Norbert" +#111 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Norbert" +#112 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Norbert" +#113 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Norbert" +#114 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Norbert" +#115 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Norbert" +#116 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Norbert" with "Norbert" pattern +#117 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Norbert" with "Norbert" pattern +#118 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Norbert" with "Norbert" pattern +#119 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Norbert" with "Norbert" pattern +#120 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Orzechowicz" +#121 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Orzechowicz" with "Orzechowicz" pattern +#122 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Orzechowicz" +#123 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Orzechowicz" +#124 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Orzechowicz" with "Orzechowicz" pattern +#125 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Orzechowicz" +#126 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Orzechowicz" +#127 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Orzechowicz" +#128 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Orzechowicz" +#129 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Orzechowicz" +#130 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Orzechowicz" +#131 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Orzechowicz" +#132 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Orzechowicz" +#133 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Orzechowicz" +#134 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Orzechowicz" +#135 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Orzechowicz" +#136 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Orzechowicz" +#137 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Orzechowicz" +#138 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Orzechowicz" with "Orzechowicz" pattern +#139 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Orzechowicz" with "Orzechowicz" pattern +#140 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Orzechowicz" with "Orzechowicz" pattern +#141 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Orzechowicz" with "Orzechowicz" pattern +#142 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@boolean@" +#143 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "true" with "@boolean@" pattern +#144 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@boolean@" +#145 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@boolean@" +#146 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "true" with "@boolean@" pattern +#147 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@boolean@" +#148 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@boolean@" +#149 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@boolean@" +#150 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@boolean@" +#151 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@boolean@" +#152 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can match pattern "@boolean@" +#153 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher matching value "true" with "@boolean@" pattern +#154 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher successfully matched value "true" with "@boolean@" pattern +#155 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "true" with "@boolean@" pattern +#156 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "true" with "@boolean@" pattern +#157 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@array@.isEmpty()" +#158 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(0)" with "@array@.isEmpty()" pattern +#159 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@array@.isEmpty()" +#160 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@array@.isEmpty()" +#161 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(0)" with "@array@.isEmpty()" pattern +#162 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@array@.isEmpty()" +#163 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@array@.isEmpty()" +#164 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@array@.isEmpty()" +#165 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@array@.isEmpty()" +#166 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@array@.isEmpty()" +#167 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "@array@.isEmpty()" +#168 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "@array@.isEmpty()" +#169 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "@array@.isEmpty()" +#170 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "@array@.isEmpty()" +#171 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "@array@.isEmpty()" +#172 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "@array@.isEmpty()" +#173 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "@array@.isEmpty()" +#174 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "@array@.isEmpty()" +#175 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Array(0)" with "@array@.isEmpty()" pattern +#176 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "Array(0)" with "@array@.isEmpty()" pattern +#177 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "Array(0)" does not match "@array@.isEmpty()". +#178 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "@array@.isEmpty()" +#179 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "@array@.isEmpty()" +#180 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "@array@.isEmpty()" +#181 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "@array@.isEmpty()" +#182 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(0)" with "@array@.isEmpty()" pattern +#183 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(0)" does not match "@array@.isEmpty()". +#184 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "@array@.isEmpty()" +#185 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "Array(0)" with "@array@.isEmpty()" pattern +#186 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "Array(0)" with "@array@.isEmpty()" pattern +#187 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: array "Array(0)" is not a valid string. +#188 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(0)" with "@array@.isEmpty()" pattern +#189 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: array "Array(0)" is not a valid string. +#190 Expander isEmpty matching value "Array(0)" +#191 Expander isEmpty successfully matched value "Array(0)" +#192 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher successfully matched value "Array(0)" with "@array@.isEmpty()" pattern +#193 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(5)" +#194 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(5)" with "Array(5)" pattern +#195 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(5)" +#196 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(5)" +#197 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(5)" with "Array(5)" pattern +#198 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(5)" +#199 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(5)" +#200 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(5)" +#201 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(5)" +#202 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(5)" +#203 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(5)" +#204 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(5)" +#205 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(5)" +#206 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(5)" +#207 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(5)" +#208 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(5)" +#209 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(5)" +#210 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(5)" +#211 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(5)" +#212 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(5)" +#213 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "Array(5)" +#214 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(5)" +#215 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(5)" with "Array(5)" pattern +#216 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(0)" does not match "@array@.isEmpty()". +#217 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(5)" +#218 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(5)" with "Array(5)" pattern +#219 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "Array(0)" does not match "@array@.isEmpty()". +#220 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" +#221 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "132" with "@integer@" pattern +#222 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" +#223 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" +#224 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "132" with "@integer@" pattern +#225 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" +#226 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" +#227 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" +#228 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" +#229 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" +#230 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "132" with "@integer@" pattern +#231 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher successfully matched value "132" with "@integer@" pattern +#232 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "132" with "@integer@" pattern +#233 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "132" with "@integer@" pattern +#234 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Michał" +#235 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Michał" with "Michał" pattern +#236 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Michał" +#237 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Michał" +#238 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Michał" with "Michał" pattern +#239 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Michał" +#240 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Michał" +#241 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Michał" +#242 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Michał" +#243 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Michał" +#244 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Michał" +#245 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Michał" +#246 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Michał" +#247 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Michał" +#248 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Michał" +#249 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Michał" +#250 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Michał" +#251 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Michał" +#252 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Michał" with "Michał" pattern +#253 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Michał" with "Michał" pattern +#254 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Michał" with "Michał" pattern +#255 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Michał" with "Michał" pattern +#256 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Dąbrowski" +#257 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Dąbrowski" with "Dąbrowski" pattern +#258 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Dąbrowski" +#259 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Dąbrowski" +#260 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Dąbrowski" with "Dąbrowski" pattern +#261 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Dąbrowski" +#262 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Dąbrowski" +#263 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Dąbrowski" +#264 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Dąbrowski" +#265 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Dąbrowski" +#266 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Dąbrowski" +#267 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Dąbrowski" +#268 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Dąbrowski" +#269 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Dąbrowski" +#270 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Dąbrowski" +#271 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Dąbrowski" +#272 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Dąbrowski" +#273 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Dąbrowski" +#274 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Dąbrowski" with "Dąbrowski" pattern +#275 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Dąbrowski" with "Dąbrowski" pattern +#276 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Dąbrowski" with "Dąbrowski" pattern +#277 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Dąbrowski" with "Dąbrowski" pattern +#278 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "expr(value == true)" +#279 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "false" with "expr(value == true)" pattern +#280 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "expr(value == true)" +#281 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "expr(value == true)" +#282 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "false" with "expr(value == true)" pattern +#283 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "expr(value == true)" +#284 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can match pattern "expr(value == true)" +#285 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher matching value "false" with "expr(value == true)" pattern +#286 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher failed to match value "false" with "expr(value == true)" pattern +#287 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher error: "expr(value == true)" expression fails for value "false". +#288 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "expr(value == true)" +#289 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "expr(value == true)" +#290 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "expr(value == true)" +#291 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "expr(value == true)" +#292 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "expr(value == true)" +#293 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "expr(value == true)" +#294 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "expr(value == true)" +#295 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "expr(value == true)" +#296 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "expr(value == true)" +#297 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "expr(value == true)" +#298 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "expr(value == true)" +#299 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "false" with "expr(value == true)" pattern +#300 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "false" with "expr(value == true)" pattern +#301 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "false" does not match "expr(value == true)". +#302 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "expr(value == true)" +#303 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "expr(value == true)" +#304 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "expr(value == true)" +#305 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "expr(value == true)" +#306 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "false" with "expr(value == true)" pattern +#307 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "false" does not match "expr(value == true)". +#308 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "expr(value == true)" +#309 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "false" with "expr(value == true)" pattern +#310 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "false" with "expr(value == true)" pattern +#311 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: boolean "false" is not a valid string. +#312 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "false" with "expr(value == true)" pattern +#313 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: boolean "false" is not a valid string. +#314 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher failed to match value "Array(3)" with "Array(3)" pattern +#315 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher error: Value "false" does not match pattern "expr(value == true)" at path: "[users][1][enabled]" +#316 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#317 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher error: Value "false" does not match pattern "expr(value == true)" at path: "[users][1][enabled]" +#318 Matcher Coduo\PHPMatcher\Matcher\XmlMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#319 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#320 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#321 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#322 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) error: Value "false" does not match pattern "expr(value == true)" at path: "[users][1][enabled]" +#323 Matcher Coduo\PHPMatcher\Matcher failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == true)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#324 Matcher Coduo\PHPMatcher\Matcher error: Value "false" does not match pattern "expr(value == true)" at path: "[users][1][enabled]" \ No newline at end of file diff --git a/tests/BacktraceTest/succeed_complex_matching_expected_trace.txt b/tests/BacktraceTest/succeed_complex_matching_expected_trace.txt index 49eabbb3..de74a820 100644 --- a/tests/BacktraceTest/succeed_complex_matching_expected_trace.txt +++ b/tests/BacktraceTest/succeed_complex_matching_expected_trace.txt @@ -20,327 +20,333 @@ #20 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". #21 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" #22 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#23 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#24 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#25 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#26 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher can match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" -#27 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher matching value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#28 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher matching value "Array(3)" with "Array(3)" pattern -#29 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(2)" -#30 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(2)" with "Array(2)" pattern -#31 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(2)" -#32 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(2)" -#33 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(2)" with "Array(2)" pattern -#34 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(2)" -#35 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(2)" -#36 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(2)" -#37 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(2)" -#38 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(2)" -#39 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(2)" -#40 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(2)" -#41 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(2)" -#42 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(2)" -#43 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(2)" -#44 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(2)" -#45 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(2)" -#46 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(2)" -#47 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(2)" -#48 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(2)" -#49 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(2)" -#50 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(2)" with "Array(2)" pattern -#51 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#52 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(2)" -#53 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(2)" with "Array(2)" pattern -#54 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#55 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(5)" -#56 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(5)" with "Array(5)" pattern -#57 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(5)" -#58 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(5)" -#59 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(5)" with "Array(5)" pattern -#60 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(5)" -#61 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(5)" -#62 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(5)" -#63 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(5)" -#64 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(5)" -#65 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(5)" -#66 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(5)" -#67 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(5)" -#68 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(5)" -#69 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(5)" -#70 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(5)" -#71 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(5)" -#72 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(5)" -#73 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(5)" -#74 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(5)" -#75 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(5)" -#76 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(5)" with "Array(5)" pattern -#77 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#78 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(5)" -#79 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(5)" with "Array(5)" pattern -#80 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". -#81 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" -#82 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "131" with "@integer@" pattern -#83 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" -#84 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" -#85 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "131" with "@integer@" pattern -#86 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" -#87 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" -#88 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" -#89 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" -#90 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" -#91 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "131" with "@integer@" pattern -#92 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher successfully matched value "131" with "@integer@" pattern -#93 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "131" with "@integer@" pattern -#94 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "131" with "@integer@" pattern -#95 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Norbert" -#96 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Norbert" with "Norbert" pattern -#97 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Norbert" -#98 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Norbert" -#99 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Norbert" with "Norbert" pattern -#100 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Norbert" -#101 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Norbert" -#102 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Norbert" -#103 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Norbert" -#104 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Norbert" -#105 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Norbert" -#106 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Norbert" -#107 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Norbert" -#108 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Norbert" -#109 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Norbert" -#110 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Norbert" -#111 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Norbert" -#112 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Norbert" -#113 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Norbert" with "Norbert" pattern -#114 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Norbert" with "Norbert" pattern -#115 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Norbert" with "Norbert" pattern -#116 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Norbert" with "Norbert" pattern -#117 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Orzechowicz" -#118 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Orzechowicz" with "Orzechowicz" pattern -#119 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Orzechowicz" -#120 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Orzechowicz" -#121 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Orzechowicz" with "Orzechowicz" pattern -#122 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Orzechowicz" -#123 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Orzechowicz" -#124 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Orzechowicz" -#125 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Orzechowicz" -#126 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Orzechowicz" -#127 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Orzechowicz" -#128 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Orzechowicz" -#129 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Orzechowicz" -#130 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Orzechowicz" -#131 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Orzechowicz" -#132 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Orzechowicz" -#133 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Orzechowicz" -#134 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Orzechowicz" -#135 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Orzechowicz" with "Orzechowicz" pattern -#136 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Orzechowicz" with "Orzechowicz" pattern -#137 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Orzechowicz" with "Orzechowicz" pattern -#138 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Orzechowicz" with "Orzechowicz" pattern -#139 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@boolean@" -#140 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "true" with "@boolean@" pattern -#141 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@boolean@" -#142 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@boolean@" -#143 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "true" with "@boolean@" pattern -#144 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@boolean@" -#145 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@boolean@" -#146 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@boolean@" -#147 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@boolean@" -#148 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@boolean@" -#149 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can match pattern "@boolean@" -#150 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher matching value "true" with "@boolean@" pattern -#151 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher successfully matched value "true" with "@boolean@" pattern -#152 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "true" with "@boolean@" pattern -#153 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "true" with "@boolean@" pattern -#154 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@array@.isEmpty()" -#155 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(0)" with "@array@.isEmpty()" pattern -#156 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@array@.isEmpty()" -#157 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@array@.isEmpty()" -#158 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(0)" with "@array@.isEmpty()" pattern -#159 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@array@.isEmpty()" -#160 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@array@.isEmpty()" -#161 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@array@.isEmpty()" -#162 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@array@.isEmpty()" -#163 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@array@.isEmpty()" -#164 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "@array@.isEmpty()" -#165 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "@array@.isEmpty()" -#166 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "@array@.isEmpty()" -#167 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "@array@.isEmpty()" -#168 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "@array@.isEmpty()" -#169 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "@array@.isEmpty()" -#170 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "@array@.isEmpty()" -#171 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "@array@.isEmpty()" -#172 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Array(0)" with "@array@.isEmpty()" pattern -#173 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "Array(0)" with "@array@.isEmpty()" pattern -#174 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "Array(0)" does not match "@array@.isEmpty()". -#175 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "@array@.isEmpty()" -#176 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "@array@.isEmpty()" -#177 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "@array@.isEmpty()" -#178 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(0)" with "@array@.isEmpty()" pattern -#179 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(0)" does not match "@array@.isEmpty()". -#180 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "@array@.isEmpty()" -#181 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "Array(0)" with "@array@.isEmpty()" pattern -#182 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "Array(0)" with "@array@.isEmpty()" pattern -#183 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: array "Array(0)" is not a valid string. -#184 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(0)" with "@array@.isEmpty()" pattern -#185 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: array "Array(0)" is not a valid string. -#186 Expander isEmpty matching value "Array(0)" -#187 Expander isEmpty successfully matched value "Array(0)" -#188 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher successfully matched value "Array(0)" with "@array@.isEmpty()" pattern -#189 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(5)" -#190 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(5)" with "Array(5)" pattern -#191 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(5)" -#192 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(5)" -#193 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(5)" with "Array(5)" pattern -#194 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(5)" -#195 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(5)" -#196 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(5)" -#197 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(5)" -#198 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(5)" -#199 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(5)" -#200 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(5)" -#201 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(5)" -#202 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(5)" -#203 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(5)" -#204 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(5)" -#205 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(5)" -#206 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(5)" -#207 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(5)" -#208 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(5)" -#209 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(5)" -#210 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(5)" with "Array(5)" pattern -#211 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(0)" does not match "@array@.isEmpty()". -#212 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(5)" -#213 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(5)" with "Array(5)" pattern -#214 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "Array(0)" does not match "@array@.isEmpty()". -#215 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" -#216 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "132" with "@integer@" pattern -#217 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" -#218 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" -#219 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "132" with "@integer@" pattern -#220 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" -#221 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" -#222 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" -#223 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" -#224 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" -#225 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "132" with "@integer@" pattern -#226 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher successfully matched value "132" with "@integer@" pattern -#227 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "132" with "@integer@" pattern -#228 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "132" with "@integer@" pattern -#229 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Michał" -#230 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Michał" with "Michał" pattern -#231 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Michał" -#232 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Michał" -#233 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Michał" with "Michał" pattern -#234 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Michał" -#235 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Michał" -#236 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Michał" -#237 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Michał" -#238 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Michał" -#239 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Michał" -#240 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Michał" -#241 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Michał" -#242 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Michał" -#243 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Michał" -#244 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Michał" -#245 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Michał" -#246 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Michał" -#247 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Michał" with "Michał" pattern -#248 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Michał" with "Michał" pattern -#249 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Michał" with "Michał" pattern -#250 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Michał" with "Michał" pattern -#251 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Dąbrowski" -#252 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Dąbrowski" with "Dąbrowski" pattern -#253 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Dąbrowski" -#254 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Dąbrowski" -#255 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Dąbrowski" with "Dąbrowski" pattern -#256 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Dąbrowski" -#257 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Dąbrowski" -#258 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Dąbrowski" -#259 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Dąbrowski" -#260 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Dąbrowski" -#261 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Dąbrowski" -#262 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Dąbrowski" -#263 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Dąbrowski" -#264 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Dąbrowski" -#265 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Dąbrowski" -#266 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Dąbrowski" -#267 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Dąbrowski" -#268 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Dąbrowski" -#269 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Dąbrowski" with "Dąbrowski" pattern -#270 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Dąbrowski" with "Dąbrowski" pattern -#271 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Dąbrowski" with "Dąbrowski" pattern -#272 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Dąbrowski" with "Dąbrowski" pattern -#273 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "expr(value == false)" -#274 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "false" with "expr(value == false)" pattern -#275 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "expr(value == false)" -#276 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "expr(value == false)" -#277 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "false" with "expr(value == false)" pattern -#278 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "expr(value == false)" -#279 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can match pattern "expr(value == false)" -#280 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher matching value "false" with "expr(value == false)" pattern -#281 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher successfully matched value "false" with "expr(value == false)" pattern -#282 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "false" with "expr(value == false)" pattern -#283 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "false" with "expr(value == false)" pattern -#284 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@array@" -#285 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(1)" with "@array@" pattern -#286 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@array@" -#287 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@array@" -#288 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(1)" with "@array@" pattern -#289 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@array@" -#290 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@array@" -#291 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@array@" -#292 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@array@" -#293 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@array@" -#294 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "@array@" -#295 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "@array@" -#296 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "@array@" -#297 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "@array@" -#298 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "@array@" -#299 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "@array@" -#300 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "@array@" -#301 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "@array@" -#302 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Array(1)" with "@array@" pattern -#303 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "Array(1)" with "@array@" pattern -#304 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "Array(1)" does not match "@array@". -#305 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "@array@" -#306 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "@array@" -#307 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "@array@" -#308 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(1)" with "@array@" pattern -#309 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(1)" does not match "@array@". -#310 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "@array@" -#311 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "Array(1)" with "@array@" pattern -#312 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "Array(1)" with "@array@" pattern -#313 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: array "Array(1)" is not a valid string. -#314 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(1)" with "@array@" pattern -#315 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: array "Array(1)" is not a valid string. -#316 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher successfully matched value "Array(1)" with "@array@" pattern -#317 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@string@" -#318 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "http://example.com/api/users/1?limit=2" with "@string@" pattern -#319 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@string@" -#320 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@string@" -#321 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "http://example.com/api/users/1?limit=2" with "@string@" pattern -#322 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@string@" -#323 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@string@" -#324 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@string@" -#325 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can match pattern "@string@" -#326 Matcher Coduo\PHPMatcher\Matcher\StringMatcher matching value "http://example.com/api/users/1?limit=2" with "@string@" pattern -#327 Matcher Coduo\PHPMatcher\Matcher\StringMatcher successfully matched value "http://example.com/api/users/1?limit=2" with "@string@" pattern -#328 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "http://example.com/api/users/1?limit=2" with "@string@" pattern -#329 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "http://example.com/api/users/1?limit=2" with "@string@" pattern -#330 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@string@" -#331 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "http://example.com/api/users/3?limit=2" with "@string@" pattern -#332 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@string@" -#333 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@string@" -#334 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "http://example.com/api/users/3?limit=2" with "@string@" pattern -#335 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@string@" -#336 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@string@" -#337 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@string@" -#338 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can match pattern "@string@" -#339 Matcher Coduo\PHPMatcher\Matcher\StringMatcher matching value "http://example.com/api/users/3?limit=2" with "@string@" pattern -#340 Matcher Coduo\PHPMatcher\Matcher\StringMatcher successfully matched value "http://example.com/api/users/3?limit=2" with "@string@" pattern -#341 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "http://example.com/api/users/3?limit=2" with "@string@" pattern -#342 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "http://example.com/api/users/3?limit=2" with "@string@" pattern -#343 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher successfully matched value "Array(3)" with "Array(3)" pattern -#344 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher successfully matched value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#345 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) successfully matched value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern -#346 Matcher Coduo\PHPMatcher\Matcher successfully matched value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern \ No newline at end of file +#23 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#24 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#25 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#26 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#27 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher can match pattern "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" +#28 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher matching value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#29 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher matching value "Array(3)" with "Array(3)" pattern +#30 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(2)" +#31 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(2)" with "Array(2)" pattern +#32 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(2)" +#33 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(2)" +#34 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(2)" with "Array(2)" pattern +#35 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(2)" +#36 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(2)" +#37 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(2)" +#38 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(2)" +#39 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(2)" +#40 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(2)" +#41 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(2)" +#42 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(2)" +#43 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(2)" +#44 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(2)" +#45 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(2)" +#46 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(2)" +#47 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(2)" +#48 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(2)" +#49 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(2)" +#50 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "Array(2)" +#51 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(2)" +#52 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(2)" with "Array(2)" pattern +#53 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#54 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(2)" +#55 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(2)" with "Array(2)" pattern +#56 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#57 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(5)" +#58 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(5)" with "Array(5)" pattern +#59 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(5)" +#60 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(5)" +#61 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(5)" with "Array(5)" pattern +#62 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(5)" +#63 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(5)" +#64 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(5)" +#65 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(5)" +#66 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(5)" +#67 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(5)" +#68 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(5)" +#69 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(5)" +#70 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(5)" +#71 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(5)" +#72 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(5)" +#73 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(5)" +#74 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(5)" +#75 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(5)" +#76 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(5)" +#77 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "Array(5)" +#78 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(5)" +#79 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(5)" with "Array(5)" pattern +#80 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#81 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(5)" +#82 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(5)" with "Array(5)" pattern +#83 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" does not match "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}". +#84 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" +#85 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "131" with "@integer@" pattern +#86 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" +#87 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" +#88 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "131" with "@integer@" pattern +#89 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" +#90 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" +#91 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" +#92 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" +#93 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" +#94 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "131" with "@integer@" pattern +#95 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher successfully matched value "131" with "@integer@" pattern +#96 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "131" with "@integer@" pattern +#97 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "131" with "@integer@" pattern +#98 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Norbert" +#99 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Norbert" with "Norbert" pattern +#100 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Norbert" +#101 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Norbert" +#102 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Norbert" with "Norbert" pattern +#103 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Norbert" +#104 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Norbert" +#105 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Norbert" +#106 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Norbert" +#107 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Norbert" +#108 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Norbert" +#109 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Norbert" +#110 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Norbert" +#111 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Norbert" +#112 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Norbert" +#113 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Norbert" +#114 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Norbert" +#115 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Norbert" +#116 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Norbert" with "Norbert" pattern +#117 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Norbert" with "Norbert" pattern +#118 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Norbert" with "Norbert" pattern +#119 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Norbert" with "Norbert" pattern +#120 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Orzechowicz" +#121 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Orzechowicz" with "Orzechowicz" pattern +#122 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Orzechowicz" +#123 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Orzechowicz" +#124 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Orzechowicz" with "Orzechowicz" pattern +#125 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Orzechowicz" +#126 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Orzechowicz" +#127 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Orzechowicz" +#128 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Orzechowicz" +#129 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Orzechowicz" +#130 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Orzechowicz" +#131 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Orzechowicz" +#132 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Orzechowicz" +#133 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Orzechowicz" +#134 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Orzechowicz" +#135 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Orzechowicz" +#136 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Orzechowicz" +#137 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Orzechowicz" +#138 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Orzechowicz" with "Orzechowicz" pattern +#139 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Orzechowicz" with "Orzechowicz" pattern +#140 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Orzechowicz" with "Orzechowicz" pattern +#141 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Orzechowicz" with "Orzechowicz" pattern +#142 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@boolean@" +#143 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "true" with "@boolean@" pattern +#144 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@boolean@" +#145 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@boolean@" +#146 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "true" with "@boolean@" pattern +#147 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@boolean@" +#148 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@boolean@" +#149 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@boolean@" +#150 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@boolean@" +#151 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@boolean@" +#152 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can match pattern "@boolean@" +#153 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher matching value "true" with "@boolean@" pattern +#154 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher successfully matched value "true" with "@boolean@" pattern +#155 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "true" with "@boolean@" pattern +#156 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "true" with "@boolean@" pattern +#157 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@array@.isEmpty()" +#158 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(0)" with "@array@.isEmpty()" pattern +#159 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@array@.isEmpty()" +#160 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@array@.isEmpty()" +#161 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(0)" with "@array@.isEmpty()" pattern +#162 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@array@.isEmpty()" +#163 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@array@.isEmpty()" +#164 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@array@.isEmpty()" +#165 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@array@.isEmpty()" +#166 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@array@.isEmpty()" +#167 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "@array@.isEmpty()" +#168 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "@array@.isEmpty()" +#169 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "@array@.isEmpty()" +#170 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "@array@.isEmpty()" +#171 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "@array@.isEmpty()" +#172 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "@array@.isEmpty()" +#173 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "@array@.isEmpty()" +#174 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "@array@.isEmpty()" +#175 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Array(0)" with "@array@.isEmpty()" pattern +#176 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "Array(0)" with "@array@.isEmpty()" pattern +#177 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "Array(0)" does not match "@array@.isEmpty()". +#178 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "@array@.isEmpty()" +#179 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "@array@.isEmpty()" +#180 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "@array@.isEmpty()" +#181 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "@array@.isEmpty()" +#182 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(0)" with "@array@.isEmpty()" pattern +#183 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(0)" does not match "@array@.isEmpty()". +#184 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "@array@.isEmpty()" +#185 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "Array(0)" with "@array@.isEmpty()" pattern +#186 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "Array(0)" with "@array@.isEmpty()" pattern +#187 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: array "Array(0)" is not a valid string. +#188 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(0)" with "@array@.isEmpty()" pattern +#189 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: array "Array(0)" is not a valid string. +#190 Expander isEmpty matching value "Array(0)" +#191 Expander isEmpty successfully matched value "Array(0)" +#192 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher successfully matched value "Array(0)" with "@array@.isEmpty()" pattern +#193 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Array(5)" +#194 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(5)" with "Array(5)" pattern +#195 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Array(5)" +#196 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Array(5)" +#197 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(5)" with "Array(5)" pattern +#198 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Array(5)" +#199 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Array(5)" +#200 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Array(5)" +#201 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Array(5)" +#202 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Array(5)" +#203 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Array(5)" +#204 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Array(5)" +#205 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Array(5)" +#206 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Array(5)" +#207 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Array(5)" +#208 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Array(5)" +#209 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Array(5)" +#210 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can't match pattern "Array(5)" +#211 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "Array(5)" +#212 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "Array(5)" +#213 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "Array(5)" +#214 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "Array(5)" +#215 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(5)" with "Array(5)" pattern +#216 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(0)" does not match "@array@.isEmpty()". +#217 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "Array(5)" +#218 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(5)" with "Array(5)" pattern +#219 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "Array(0)" does not match "@array@.isEmpty()". +#220 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" +#221 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "132" with "@integer@" pattern +#222 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" +#223 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" +#224 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "132" with "@integer@" pattern +#225 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" +#226 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" +#227 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" +#228 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" +#229 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" +#230 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "132" with "@integer@" pattern +#231 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher successfully matched value "132" with "@integer@" pattern +#232 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "132" with "@integer@" pattern +#233 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "132" with "@integer@" pattern +#234 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Michał" +#235 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Michał" with "Michał" pattern +#236 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Michał" +#237 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Michał" +#238 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Michał" with "Michał" pattern +#239 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Michał" +#240 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Michał" +#241 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Michał" +#242 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Michał" +#243 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Michał" +#244 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Michał" +#245 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Michał" +#246 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Michał" +#247 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Michał" +#248 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Michał" +#249 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Michał" +#250 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Michał" +#251 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Michał" +#252 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Michał" with "Michał" pattern +#253 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Michał" with "Michał" pattern +#254 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Michał" with "Michał" pattern +#255 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Michał" with "Michał" pattern +#256 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "Dąbrowski" +#257 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Dąbrowski" with "Dąbrowski" pattern +#258 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "Dąbrowski" +#259 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "Dąbrowski" +#260 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Dąbrowski" with "Dąbrowski" pattern +#261 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "Dąbrowski" +#262 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "Dąbrowski" +#263 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "Dąbrowski" +#264 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "Dąbrowski" +#265 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "Dąbrowski" +#266 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "Dąbrowski" +#267 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "Dąbrowski" +#268 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "Dąbrowski" +#269 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "Dąbrowski" +#270 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "Dąbrowski" +#271 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "Dąbrowski" +#272 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "Dąbrowski" +#273 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "Dąbrowski" +#274 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Dąbrowski" with "Dąbrowski" pattern +#275 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher successfully matched value "Dąbrowski" with "Dąbrowski" pattern +#276 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "Dąbrowski" with "Dąbrowski" pattern +#277 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "Dąbrowski" with "Dąbrowski" pattern +#278 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "expr(value == false)" +#279 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "false" with "expr(value == false)" pattern +#280 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "expr(value == false)" +#281 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "expr(value == false)" +#282 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "false" with "expr(value == false)" pattern +#283 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "expr(value == false)" +#284 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can match pattern "expr(value == false)" +#285 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher matching value "false" with "expr(value == false)" pattern +#286 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher successfully matched value "false" with "expr(value == false)" pattern +#287 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "false" with "expr(value == false)" pattern +#288 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "false" with "expr(value == false)" pattern +#289 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@array@" +#290 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "Array(1)" with "@array@" pattern +#291 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@array@" +#292 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@array@" +#293 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "Array(1)" with "@array@" pattern +#294 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@array@" +#295 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@array@" +#296 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@array@" +#297 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@array@" +#298 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can't match pattern "@array@" +#299 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "@array@" +#300 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "@array@" +#301 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "@array@" +#302 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "@array@" +#303 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "@array@" +#304 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "@array@" +#305 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "@array@" +#306 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "@array@" +#307 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "Array(1)" with "@array@" pattern +#308 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "Array(1)" with "@array@" pattern +#309 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "Array(1)" does not match "@array@". +#310 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "@array@" +#311 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "@array@" +#312 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "@array@" +#313 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "@array@" +#314 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "Array(1)" with "@array@" pattern +#315 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "Array(1)" does not match "@array@". +#316 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "@array@" +#317 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "Array(1)" with "@array@" pattern +#318 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "Array(1)" with "@array@" pattern +#319 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: array "Array(1)" is not a valid string. +#320 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "Array(1)" with "@array@" pattern +#321 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: array "Array(1)" is not a valid string. +#322 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher successfully matched value "Array(1)" with "@array@" pattern +#323 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@string@" +#324 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "http://example.com/api/users/1?limit=2" with "@string@" pattern +#325 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@string@" +#326 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@string@" +#327 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "http://example.com/api/users/1?limit=2" with "@string@" pattern +#328 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@string@" +#329 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@string@" +#330 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@string@" +#331 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can match pattern "@string@" +#332 Matcher Coduo\PHPMatcher\Matcher\StringMatcher matching value "http://example.com/api/users/1?limit=2" with "@string@" pattern +#333 Matcher Coduo\PHPMatcher\Matcher\StringMatcher successfully matched value "http://example.com/api/users/1?limit=2" with "@string@" pattern +#334 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "http://example.com/api/users/1?limit=2" with "@string@" pattern +#335 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "http://example.com/api/users/1?limit=2" with "@string@" pattern +#336 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@string@" +#337 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "http://example.com/api/users/3?limit=2" with "@string@" pattern +#338 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@string@" +#339 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@string@" +#340 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "http://example.com/api/users/3?limit=2" with "@string@" pattern +#341 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@string@" +#342 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@string@" +#343 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@string@" +#344 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can match pattern "@string@" +#345 Matcher Coduo\PHPMatcher\Matcher\StringMatcher matching value "http://example.com/api/users/3?limit=2" with "@string@" pattern +#346 Matcher Coduo\PHPMatcher\Matcher\StringMatcher successfully matched value "http://example.com/api/users/3?limit=2" with "@string@" pattern +#347 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) successfully matched value "http://example.com/api/users/3?limit=2" with "@string@" pattern +#348 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) successfully matched value "http://example.com/api/users/3?limit=2" with "@string@" pattern +#349 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher successfully matched value "Array(3)" with "Array(3)" pattern +#350 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher successfully matched value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#351 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) successfully matched value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern +#352 Matcher Coduo\PHPMatcher\Matcher successfully matched value "{"users":[{"id":131,"firstName":"Norbert","lastName":"Orzechowicz","enabled":true,"roles":[]},{"id":132,"firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":false,"roles":["ROLE_DEVELOPER"]}],"prevPage":"http:\/\/example.com\/api\/users\/1?limit=2","nextPage":"http:\/\/example.com\/api\/users\/3?limit=2"}" with "{"users":[{"id":"@integer@","firstName":"Norbert","lastName":"Orzechowicz","enabled":"@boolean@","roles":"@array@.isEmpty()"},{"id":"@integer@","firstName":"Micha\u0142","lastName":"D\u0105browski","enabled":"expr(value == false)","roles":"@array@"}],"prevPage":"@string@","nextPage":"@string@"}" pattern \ No newline at end of file diff --git a/tests/ExpandersTest.php b/tests/ExpandersTest.php index 6eaff0e0..45a79923 100644 --- a/tests/ExpandersTest.php +++ b/tests/ExpandersTest.php @@ -53,6 +53,7 @@ public static function expanderExamples() [[], ['unexistent_key' => '@string@.optional()'], true], [[], ['unexistent_key' => '@text@.optional()'], true], [[], ['unexistent_key' => '@uuid@.optional()'], true], + [[], ['unexistent_key' => '@ulid@.optional()'], true], [[], ['unexistent_key' => '@xml@.optional()'], true], [[], ['unexistent_key' => '@array@.optional()', 'unexistent_second_key' => '@string@.optional()'], true], [[], ['unexistent_key' => '@array@.optional()', 'unexistent_second_key' => '@string@'], false], diff --git a/tests/Matcher/TextMatcherTest.php b/tests/Matcher/TextMatcherTest.php index bd01fcde..2ffbf620 100644 --- a/tests/Matcher/TextMatcherTest.php +++ b/tests/Matcher/TextMatcherTest.php @@ -127,6 +127,21 @@ public function matchingData() '/user/@uuid@/@string@', false, ], + [ + '/user/01BX5ZZKBKACTAV9WEVGEMMVS0/profile', + '/user/@ulid@/@string@', + true, + ], + [ + '/user/12345/profile', + '/user/@ulid@/@string@', + false, + ], + [ + '/user/8ZZZZZZZZZZZZZZZZZZZZZZZZZ/profile', + '/user/@ulid@/@string@', + false, + ], ]; } } diff --git a/tests/Matcher/UlidMatcherTest.php b/tests/Matcher/UlidMatcherTest.php new file mode 100644 index 00000000..96e04628 --- /dev/null +++ b/tests/Matcher/UlidMatcherTest.php @@ -0,0 +1,121 @@ +matcher = new UlidMatcher( + $backtrace = new Backtrace\InMemoryBacktrace(), + new Parser(new Lexer(), new Parser\ExpanderInitializer($backtrace)) + ); + } + + /** + * @dataProvider positiveCanMatchData + */ + public function test_positive_can_matches($pattern) : void + { + $this->assertTrue($this->matcher->canMatch($pattern)); + } + + /** + * @dataProvider negativeCanMatchData + */ + public function test_negative_can_matches($pattern) : void + { + $this->assertFalse($this->matcher->canMatch($pattern)); + } + + /** + * @dataProvider positiveMatchData + */ + public function test_positive_match($value, $pattern) : void + { + $this->assertTrue($this->matcher->match($value, $pattern)); + } + + /** + * @dataProvider negativeMatchData + */ + public function test_negative_match($value, $pattern) : void + { + $this->assertFalse($this->matcher->match($value, $pattern)); + } + + /** + * @dataProvider negativeMatchDescription + */ + public function test_negative_match_description($value, $pattern, $error) : void + { + $this->matcher->match($value, $pattern); + $this->assertEquals($error, $this->matcher->getError()); + } +} diff --git a/tests/MatcherTest.php b/tests/MatcherTest.php index f893a096..ae1658a9 100644 --- a/tests/MatcherTest.php +++ b/tests/MatcherTest.php @@ -25,6 +25,7 @@ public function scalarValueExamples() [1, '@integer@'], [['foo'], '@array@'], ['9f4db639-0e87-4367-9beb-d64e3f42ae18', '@uuid@'], + ['01BX5ZZKBKACTAV9WEVGEMMVS0', '@ulid@'], ]; } @@ -170,6 +171,16 @@ public function jsonDataProvider() "url": "/accounts/@uuid@" }', ], + [ + /* @lang JSON */ + '{ + "url": "/profile/01BX5ZZKBKACTAV9WEVGEMMVS0" + }', + /* @lang JSON */ + '{ + "url": "/profile/@ulid@" + }', + ], [ /* @lang JSON */ '{ diff --git a/tests/PHPUnit/PHPMatcherAssertionsTest.php b/tests/PHPUnit/PHPMatcherAssertionsTest.php index 553d9cec..186bdf79 100644 --- a/tests/PHPUnit/PHPMatcherAssertionsTest.php +++ b/tests/PHPUnit/PHPMatcherAssertionsTest.php @@ -65,58 +65,60 @@ public function test_it_throws_an_expectation_failed_exception_if_a_value_does_n #20 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "{"foo":"bar"}" does not match "{"foo":"@integer@"}". #21 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "{"foo":"@integer@"}" #22 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "{"foo":"@integer@"}" -#23 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "{"foo":"@integer@"}" -#24 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern -#25 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"foo":"bar"}" does not match "{"foo":"@integer@"}". -#26 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher can match pattern "{"foo":"@integer@"}" -#27 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher matching value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern -#28 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher matching value "Array(1)" with "Array(1)" pattern -#29 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" -#30 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "bar" with "@integer@" pattern -#31 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" -#32 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" -#33 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "bar" with "@integer@" pattern -#34 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" -#35 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" -#36 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" -#37 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" -#38 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" -#39 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "bar" with "@integer@" pattern -#40 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher failed to match value "bar" with "@integer@" pattern -#41 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher error: string "bar" is not a valid integer. -#42 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "@integer@" -#43 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "@integer@" -#44 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "@integer@" -#45 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "@integer@" -#46 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "@integer@" -#47 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "@integer@" -#48 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "@integer@" -#49 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "@integer@" -#50 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "bar" with "@integer@" pattern -#51 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "bar" with "@integer@" pattern -#52 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "bar" does not match "@integer@". -#53 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "@integer@" -#54 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "@integer@" -#55 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "@integer@" -#56 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "bar" with "@integer@" pattern -#57 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "bar" does not match "@integer@". -#58 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "@integer@" -#59 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "bar" with "@integer@" pattern -#60 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "bar" with "@integer@" pattern -#61 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: "bar" does not match "@integer@" pattern -#62 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "bar" with "@integer@" pattern -#63 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "bar" does not match "@integer@" pattern -#64 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher failed to match value "Array(1)" with "Array(1)" pattern -#65 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher error: Value "bar" does not match pattern "@integer@" at path: "[foo]" -#66 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher failed to match value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern -#67 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher error: Value "bar" does not match pattern "@integer@" at path: "[foo]" -#68 Matcher Coduo\PHPMatcher\Matcher\XmlMatcher can't match pattern "{"foo":"@integer@"}" -#69 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "{"foo":"@integer@"}" -#70 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "{"foo":"@integer@"}" -#71 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) failed to match value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern -#72 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) error: Value "bar" does not match pattern "@integer@" at path: "[foo]" -#73 Matcher Coduo\PHPMatcher\Matcher failed to match value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern -#74 Matcher Coduo\PHPMatcher\Matcher error: Value "bar" does not match pattern "@integer@" at path: "[foo]". +#23 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "{"foo":"@integer@"}" +#24 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "{"foo":"@integer@"}" +#25 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern +#26 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "{"foo":"bar"}" does not match "{"foo":"@integer@"}". +#27 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher can match pattern "{"foo":"@integer@"}" +#28 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher matching value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern +#29 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher matching value "Array(1)" with "Array(1)" pattern +#30 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) can match pattern "@integer@" +#31 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) matching value "bar" with "@integer@" pattern +#32 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "@integer@" +#33 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) can match pattern "@integer@" +#34 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) matching value "bar" with "@integer@" pattern +#35 Matcher Coduo\PHPMatcher\Matcher\CallbackMatcher can't match pattern "@integer@" +#36 Matcher Coduo\PHPMatcher\Matcher\ExpressionMatcher can't match pattern "@integer@" +#37 Matcher Coduo\PHPMatcher\Matcher\NullMatcher can't match pattern "@integer@" +#38 Matcher Coduo\PHPMatcher\Matcher\StringMatcher can't match pattern "@integer@" +#39 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher can match pattern "@integer@" +#40 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher matching value "bar" with "@integer@" pattern +#41 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher failed to match value "bar" with "@integer@" pattern +#42 Matcher Coduo\PHPMatcher\Matcher\IntegerMatcher error: string "bar" is not a valid integer. +#43 Matcher Coduo\PHPMatcher\Matcher\BooleanMatcher can't match pattern "@integer@" +#44 Matcher Coduo\PHPMatcher\Matcher\DoubleMatcher can't match pattern "@integer@" +#45 Matcher Coduo\PHPMatcher\Matcher\NumberMatcher can't match pattern "@integer@" +#46 Matcher Coduo\PHPMatcher\Matcher\TimeMatcher can't match pattern "@integer@" +#47 Matcher Coduo\PHPMatcher\Matcher\DateMatcher can't match pattern "@integer@" +#48 Matcher Coduo\PHPMatcher\Matcher\DateTimeMatcher can't match pattern "@integer@" +#49 Matcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher can't match pattern "@integer@" +#50 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher can match pattern "@integer@" +#51 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher matching value "bar" with "@integer@" pattern +#52 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher failed to match value "bar" with "@integer@" pattern +#53 Matcher Coduo\PHPMatcher\Matcher\ScalarMatcher error: "bar" does not match "@integer@". +#54 Matcher Coduo\PHPMatcher\Matcher\WildcardMatcher can't match pattern "@integer@" +#55 Matcher Coduo\PHPMatcher\Matcher\UuidMatcher can't match pattern "@integer@" +#56 Matcher Coduo\PHPMatcher\Matcher\UlidMatcher can't match pattern "@integer@" +#57 Matcher Coduo\PHPMatcher\Matcher\JsonObjectMatcher can't match pattern "@integer@" +#58 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) failed to match value "bar" with "@integer@" pattern +#59 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (scalars) error: "bar" does not match "@integer@". +#60 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can match pattern "@integer@" +#61 Matcher Coduo\PHPMatcher\Matcher\TextMatcher matching value "bar" with "@integer@" pattern +#62 Matcher Coduo\PHPMatcher\Matcher\TextMatcher failed to match value "bar" with "@integer@" pattern +#63 Matcher Coduo\PHPMatcher\Matcher\TextMatcher error: "bar" does not match "@integer@" pattern +#64 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) failed to match value "bar" with "@integer@" pattern +#65 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (array) error: "bar" does not match "@integer@" pattern +#66 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher failed to match value "Array(1)" with "Array(1)" pattern +#67 Matcher Coduo\PHPMatcher\Matcher\ArrayMatcher error: Value "bar" does not match pattern "@integer@" at path: "[foo]" +#68 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher failed to match value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern +#69 Matcher Coduo\PHPMatcher\Matcher\JsonMatcher error: Value "bar" does not match pattern "@integer@" at path: "[foo]" +#70 Matcher Coduo\PHPMatcher\Matcher\XmlMatcher can't match pattern "{"foo":"@integer@"}" +#71 Matcher Coduo\PHPMatcher\Matcher\OrMatcher can't match pattern "{"foo":"@integer@"}" +#72 Matcher Coduo\PHPMatcher\Matcher\TextMatcher can't match pattern "{"foo":"@integer@"}" +#73 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) failed to match value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern +#74 Matcher Coduo\PHPMatcher\Matcher\ChainMatcher (all) error: Value "bar" does not match pattern "@integer@" at path: "[foo]" +#75 Matcher Coduo\PHPMatcher\Matcher failed to match value "{"foo":"bar"}" with "{"foo":"@integer@"}" pattern +#76 Matcher Coduo\PHPMatcher\Matcher error: Value "bar" does not match pattern "@integer@" at path: "[foo]". ERROR, $e->getMessage() );