public function test2() { $dep = new Kwf_Assets_Modernizr_Dependency(); $dep->addFeature('CssTransitions'); $this->assertContains('e.Modernizr=Modernizr', $dep->getContentsPacked()->getFileContents()); $this->assertNotContains('cssanimations', $dep->getContentsPacked()->getFileContents()); $this->assertContains('csstransitions', $dep->getContentsPacked()->getFileContents()); }