Phalcon\Test\Unit\Text\TextIncrementTest::testTextIncrementAlreadyIncrementedTwice PHP Метод

testTextIncrementAlreadyIncrementedTwice() публичный Метод

Tests the increment function for an already incremented string twice
С версии: 2014-09-29
Автор: 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);
        });
    }