1: <?php namespace Illuminate\Test;
2:
3: require_once __DIR__ . '/../vendor/autoload.php';
4:
5: class InstantiationTest extends \PHPUnit_Framework_TestCase
6: {
7: /**
8: * Test if we're able to get an instance of Collection
9: * @return void
10: */
11: public function testInstantiation()
12: {
13: $collection = new \Illuminate\Support\Collection(array());
14: $this->assertEquals(get_class($collection), 'Illuminate\Support\Collection');
15: }
16: }