/** * */ public function testToArray() { $this->assertInternalType('array', Collection::toArray(['a', 'b', 'c'])); $this->assertInternalType('array', Collection::toArray('abc')); $this->assertEquals([['a', 'b', 'c']], Collection::toArray(['a', 'b', 'c'])); $this->assertEquals([NULL], Collection::toArray(NULL)); $this->assertEquals(['abc'], Collection::toArray('abc')); }