Location: PHPKode > scripts > PHP-Types > cpojer-php-type-49f8e56/Specs/Array2.php
<?php

namespace Tests\Type;

use Type\ArrayObject, Type\Array2;

class Array2Test extends \PHPUnit_Framework_TestCase {
	
	public function testArray2(){
		$array = new Array2(1, 2, 3);
		
		$this->assertTrue($array instanceof ArrayObject);
		$this->assertEquals($array(), array(1, 2, 3));
	}

}
Return current item: PHP-Types