/** * Test the addStyle method. * * @return void */ public function testAddStyle() { Asset::$styles = []; $res = new Resource(); $asset = 'body { color: #FFF; }'; $res->addStyle($asset); $this->assertEquals($asset, Asset::$styles['header'][0]); }