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