/**
  * Provides protections.
  *
  * @return array
  */
 public function dataProvider()
 {
     $domain = new Domain();
     $domain->setPath('/var/www/test.de');
     $protection = new Protection($domain);
     $user1 = new ProtectionUser($domain, $protection);
     $user2 = new ProtectionUser($domain, $protection);
     $user1->setUsername('test1')->setPassword('pw1');
     $user2->setUsername('test2')->setPassword('pw2');
     $collection = new ArrayCollection(array($user1, $user2));
     $protection->setProtectionuser($collection)->setId(1)->setPath('/var/www/test.de/htdocs/test');
     return array(array($protection));
 }