Phalcon\Test\Unit\Text\TextIncrementTest::testTextIncrementAlreadyIncrementedTwice PHP Method

testTextIncrementAlreadyIncrementedTwice() public method

Tests the increment function for an already incremented string twice
Since: 2014-09-29
Author: Nikolaos Dimopoulos ([email protected])
    public function testTextIncrementAlreadyIncrementedTwice()
    {
        $this->specify("increment does not increment a second incremented string", function () {
            $source = 'file_2';
            $expected = 'file_3';
            $actual = Text::increment($source);
            expect($actual)->equals($expected);
        });
    }