/**
  * Checks if ranges overlap
  * @param NumericRange $range
  * @return bool
  */
 public function overlaps(NumericRange $range)
 {
     return $range->getStartValue() <= $this->endValue && $range->getEndValue() >= $this->startValue;
 }
 /**
  * @covers edsonmedina\simpletype\NumericRange::__construct
  * @covers edsonmedina\simpletype\NumericRange::getStartValue
  */
 public function testGetStartValue()
 {
     $range = new NumericRange(5, 16);
     $this->assertEquals(5, $range->getStartValue());
 }