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

testTextIncrementAlreadyIncremented() public method

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