/**
  * {@inheritDoc}
  *
  * @param PropertyMetadata $property
  * @return bool
  */
 public function isSatisfiedBy(PropertyMetadata $property)
 {
     if (!$property->getGroups()) {
         return true;
     }
     foreach ($property->getGroups() as $group) {
         if (isset($this->groups[$group])) {
             return false;
         }
     }
     return true;
 }
 /**
  * @depends testConstructor
  */
 public function testSettersGetters()
 {
     $unitUnderTest = new PropertyMetadata('testProperty');
     $this->assertEquals(false, $unitUnderTest->isExpose());
     $unitUnderTest->setExpose(true);
     $this->assertEquals(true, $unitUnderTest->isExpose());
     $unitUnderTest->setSerializedName('serialized');
     $this->assertEquals('serialized', $unitUnderTest->getSerializedName());
     $unitUnderTest->setType('string');
     $this->assertEquals('string', $unitUnderTest->getType());
     $unitUnderTest->setGroups(array('string', 'test'));
     $this->assertCount(2, $unitUnderTest->getGroups());
     $this->assertEquals(array('string', 'test'), $unitUnderTest->getGroups());
 }