Author: Andres Gutierrez (andres@phalconphp.com)
Author: Nikolaos Dimopoulos (nikos@phalconphp.com)
Inheritance: extends Phalcon\Assets\Manager
Example #1
0
 /**
  * exists tests
  *
  * @author Wojciech Ĺšlawski <*****@*****.**>
  * @since  2016-03-16
  */
 public function testAssetsExistsCollection()
 {
     $this->specify("The exists method in assets does not return correct value", function () {
         $assets = new Manager();
         $assets->collection('footer')->addCss('/css/style1.css');
         $footer = $assets->exists('footer');
         $header = $assets->exists('header');
         expect($footer)->true();
         expect($header)->false();
     });
 }