Ejemplo n.º 1
0
 /**
  * @test
  * @dataProvider cancellationPossibleDataProvider
  */
 public function getCancellationPossibleReturnsExpectedValues($enabled, $deadline, $expected)
 {
     $this->subject->setEnableCancel($enabled);
     $this->subject->setCancelDeadline($deadline);
     $this->assertEquals($expected, $this->subject->getCancellationPossible());
 }