/** * @expectedException \OutOfRangeException */ function testStylesheetPriorityFail() { Chrome::clearStylesheets(); $this->assertEquals(0, count(Chrome::getStylesheets())); Chrome::addStylesheet('/css/common.css', -5); }