public function testTwoValuesAreEqualWhenValueIsTheSame()
 {
     $value1 = new ValueObject("Hola");
     $value2 = new ValueObject("Hola");
     $valueNotEqual = new ValueObject("Adios");
     $this->assertTrue($value1->equals($value2));
     $this->assertFalse($value1->equals($valueNotEqual));
 }
 /**
  * WorkingDayId constructor.
  */
 public function __construct(Uuid $id)
 {
     parent::__construct($id);
 }
 public function __construct($portNumber)
 {
     $sanitizedPortNumber = $this->sanitize($portNumber);
     parent::__construct($sanitizedPortNumber);
 }