public function testConstructor() { $helper = new AssetsHelper('foo', 'http://www.example.com', 'abcd'); $this->assertEquals('/foo/', $helper->getBasePath(), '__construct() takes a base path as its first argument'); $this->assertEquals(new AssetPackage('http://www.example.com', 'abcd'), $helper->getPackage(), '->__construct() creates a default asset package'); }