/**
  * @covers ::submitForm
  */
 function testSubmitForm()
 {
     $this->logger->expects($this->atLeastOnce())->method('info');
     $url = new Url($this->randomMachineName());
     $this->paymentStatus->expects($this->once())->method('delete');
     $this->paymentStatus->expects($this->atLeastOnce())->method('urlInfo')->with('collection')->willReturn($url);
     $form = [];
     $form_state = $this->getMock(FormStateInterface::class);
     $form_state->expects($this->once())->method('setRedirectUrl')->with($url);
     $this->sut->submitForm($form, $form_state);
 }