Airship\UnitTests\AirshipTest::testChunk PHP 메소드

testChunk() 공개 메소드

public testChunk ( )
    public function testChunk()
    {
        $this->assertSame(['foo', 'bar', 'baz'], \Airship\chunk('foo/bar/baz'));
        $this->assertSame(['foo', 'bar', 'baz'], \Airship\chunk('/foo/bar/baz/'));
        $this->assertSame(['foo/bar/baz'], \Airship\chunk('foo/bar/baz', '?'));
    }