public function testValidateValueSuccess()
 {
     DirectionEnum::validateValue('up');
 }
 /**
  * @param string $direction
  * @throws InvalidDirectionException if the direction given is not valid.
  */
 public function __construct($direction)
 {
     DirectionEnum::validateValue($direction);
     $this->direction = $direction;
 }