Version: 0.8.1

PHPUnit/ParserAssertions

assertParses

protected function assertParses(string $input, Parser $parser, $expectedOutput, string $message = "") : void

assertStrictlyEquals

Behaves like assertSame for primitives, behaves like assertEquals for objects of the same type, and fails for everything else.

protected function assertStrictlyEquals($expected, $actual, string $message = '') : void

assertRemainder

protected function assertRemainder(string $input, Parser $parser, string $expectedRemaining, string $message = "") : void

assertParseFails

protected function assertParseFails(string $input, Parser $parser, ?string $expectedFailure = null, string $message = "") : void

assertFailOnEOF

protected function assertFailOnEOF(Parser $parser, string $message = "") : void

assertSucceedOnEOF

protected function assertSucceedOnEOF(Parser $parser, string $message = "") : void