containsValue() public méthode

Tells whether $object is one of the values
public containsValue ( ValueObjects\ValueObjectInterface $object ) : boolean
$object ValueObjects\ValueObjectInterface
Résultat boolean
 public function testContainsValue()
 {
     $one = new StringLiteral('one');
     $ten = new StringLiteral('ten');
     $this->assertTrue($this->dictionary->containsValue($one));
     $this->assertFalse($this->dictionary->containsValue($ten));
 }