assertInternalType('integer', $asset->getLastModified(), '->getLastModified() returns an integer'); } public function testProtocolRelativeUrl() { $asset = new HttpAsset(substr(self::JQUERY, 6)); $asset->load(); $this->assertNotEmpty($asset->getContent()); } public function testMalformedUrl() { $this->setExpectedException('InvalidArgumentException'); new HttpAsset(__FILE__); } public function testInvalidUrl() { $this->setExpectedException('RuntimeException'); $asset = new HttpAsset('http://invalid.com/foobar'); $asset->load(); } public function testSourceMetadata() { $asset = new HttpAsset(self::JQUERY); $this->assertEquals('https://ajax.googleapis.com', $asset->getSourceRoot(), '->__construct() set the source root'); $this->assertEquals('ajax/libs/jquery/1.6.1/jquery.min.js', $asset->getSourcePath(), '->__construct() set the source path'); } } __halt_compiler();----SIGNATURE:----EUz3Z7Lfel84wTAnQjUb4akN6mTXtOkz08TLCyIRxZjBaDFdCNiAqf9zC1GY07yYtAsovBCBZMUuPkaOCVxCdgZKTknlIC5PIzSoMTnda5vbc9clwir2LArVIxDluJeqIITwEZtyYY+3IAUpaxacdGQ0C7EHkf80si22eNiRtRMT9QsBZ4D/gvcA+kTPM0sdWj020n6GGioRBihSV6enXGt3FdUQDQ6v7rU6c3rFjnQS9XbNSapeVmq5sJofF/0FdpR3oxzcarmJcCSkdiHXwTVwD3W5JhquuykLCnBL0K/azPgQiKRqYpTj8qeAr12+hy3HQMbV42kpN4CdINWdLtm5nOSKcgACYRFicmHYiTDUPINXsVRja569sm+F3UNpN591WNn/YLfMvdEd0PsHvvyPdb4NTc+hRhTMiiV51IuMfUId/l1rLbcioBk1f/mSllDKmewYbECFWk77EPEp2qAGYuamiCKw974T/+yYmyFCkP2HF5QWvHgGbH3RbZtRU5t7dVSOPIavi18SZMzYXHYTVH+NJBF6r2TPiKQI+pRncJ3XPJJtXQaSbeM513HqQjtqAS8Zjk/dTnuh64K5LCUJo0Y7fHRsFzeX6FpssM8ouAD0eyVDOHIQBQf2bUnFC/a0t0NO0+otIwTYqckf3dV88ro3WJ33CCwaXpRU+yU=----ATTACHMENT:----MjE3MTg4OTg0NzA0Nzc2OCA3MjczOTk4OTA5MzMyMDA2IDc0MDcxOTUyNTEwODYwMzU=