public function testGetTerminatedStatus()
 {
     $values = [Status::CANCELLED, Status::PROCESSED, Status::ERROR];
     foreach (Status::getTerminatedStatus() as $status) {
         /**
          * @var Status $status
          */
         $this->assertContains($status->getValue(), $values);
     }
 }
 public static function provideTerminatedStatus()
 {
     $result = [];
     foreach (Status::getTerminatedStatus() as $status) {
         $result[] = [$status];
     }
     return $result;
 }