Example #1
0
 /**
  * When called will return the value stored
  */
 public function testWhenCalledWillReturnTheValueStored()
 {
     $labelValue = 'testing';
     $label = new Label($labelValue);
     static::assertSame($labelValue, $label->getValue());
 }
Example #2
0
 /**
  * @param Label $label
  * @return bool
  */
 public function equals(Label $label)
 {
     return $this->value === $label->getValue();
 }