Airship\UnitTests\AirshipTest::testChunk PHP Method

testChunk() public method

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', '?'));
    }