public function testShouldSkip()
 {
     $this->assertFalse($this->propertySkipper->shouldSkip($this->propertyMetadata));
     $skipExclusionGroupStrategy = new GroupsExclusionStrategy(array('test1'));
     $this->propertySkipper->registerStrategy($skipExclusionGroupStrategy);
     $this->assertTrue($this->propertySkipper->shouldSkip($this->propertyMetadata));
     $nonSkipExclusionGroupStrategy = new GroupsExclusionStrategy(array('test'));
     $this->propertySkipper->registerStrategy($nonSkipExclusionGroupStrategy);
     $this->assertTrue($this->propertySkipper->shouldSkip($this->propertyMetadata));
     $this->propertySkipper->cleanUpStrategies();
     $this->propertySkipper->registerStrategy($nonSkipExclusionGroupStrategy);
     $this->assertFalse($this->propertySkipper->shouldSkip($this->propertyMetadata));
     $skipExclusionVersionStrategy = new VersionExclusionStrategy('5.5');
     $this->propertySkipper->registerStrategy($skipExclusionVersionStrategy);
     $this->assertTrue($this->propertySkipper->shouldSkip($this->propertyMetadata));
     $nonSkipExclusionVersionStrategy = new VersionExclusionStrategy('5.1');
     $this->propertySkipper->registerStrategy($nonSkipExclusionVersionStrategy);
     $this->assertTrue($this->propertySkipper->shouldSkip($this->propertyMetadata));
     $this->propertySkipper->cleanUpStrategies();
     $this->propertySkipper->registerStrategy($nonSkipExclusionGroupStrategy);
     $this->assertFalse($this->propertySkipper->shouldSkip($this->propertyMetadata));
     $this->propertySkipper->registerStrategy($skipExclusionGroupStrategy);
     $this->assertTrue($this->propertySkipper->shouldSkip($this->propertyMetadata));
     $this->propertySkipper->cleanUpStrategies();
     $this->assertFalse($this->propertySkipper->shouldSkip($this->propertyMetadata));
 }
 /**
  * {@inheritDoc}
  *
  * @param ExclusionStrategyInterface $exclusionStrategy
  * @return ArrayAdapterInterface|void
  */
 public function addExclusionStrategy(ExclusionStrategyInterface $exclusionStrategy)
 {
     $this->propertySkipper->registerStrategy($exclusionStrategy);
 }