/**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  * @covers Kunstmaan\MediaBundle\Helper\MediaManager::setDefaultHandler
  */
 protected function setUp()
 {
     $this->defaultHandler = $this->getMockForAbstractClass('Kunstmaan\\MediaBundle\\Helper\\Media\\AbstractMediaHandler', array(0));
     $this->defaultHandler->expects($this->any())->method('canHandle')->will($this->returnValue(true));
     $this->defaultHandler->expects($this->any())->method('getName')->will($this->returnValue('DefaultHandler'));
     $this->defaultHandler->expects($this->any())->method('getType')->will($this->returnValue('any/type'));
     $this->object = new MediaManager();
     $this->object->setDefaultHandler($this->defaultHandler);
 }