Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerParserSynchronizationTest::testProvidesAreSynchronized PHP Method

testProvidesAreSynchronized() public method

    public function testProvidesAreSynchronized()
    {
        $lexerTestCase = new LexerIntegrationTest();
        $lexerProviderKeys = [];
        foreach ($lexerTestCase->provideValues() as $key => $values) {
            $lexerProviderKeys[] = $key;
        }
        $parserTestCase = new ParserIntegrationTest();
        $parserProviderKeys = [];
        foreach ($parserTestCase->provideValues() as $key => $value) {
            $parserProviderKeys[] = $key;
        }
        foreach ($lexerProviderKeys as $index => $lexerProviderKey) {
            $this->assertEquals($lexerProviderKey, $parserProviderKeys[$index]);
        }
        $this->assertEquals(count($lexerProviderKeys), count($parserProviderKeys));
    }
LexerParserSynchronizationTest