Phalcon\Test\Unit\Text\TextUpperLowerTest::testUpper PHP Method

testUpper() public method

Tests the upper function
Since: 2014-09-29
Author: Nikolaos Dimopoulos ([email protected])
public testUpper ( )
    public function testUpper()
    {
        $this->specify("upper returns incorrect results", function () {
            expect(Text::upper('hello'))->equals('HELLO');
            expect(Text::upper('HELLO'))->equals('HELLO');
            expect(Text::upper('1234'))->equals('1234');
        });
    }