/**
  * @expectedException \RuntimeException
  * @expectedExceptionMessage TemplateAssetsManager does not support the method: fakeMethod
  */
 public function testCallingNonExistentMethod()
 {
     $assetCollections = array('getExternalStylesheets' => $this->createAssetsCollection(array('style.css')));
     $this->assetsCollections = $assetCollections;
     $container = $this->initContainer(array(), array());
     $template = $this->createTemplate($assetCollections);
     $blockManagerFactory = $this->initBlockManagerFactory(array());
     $templateAssetsManager = new TemplateAssetsManager($container, $blockManagerFactory);
     $templateAssetsManager->setUp($template, array());
     $templateAssetsManager->fakeMethod();
 }