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