Example #1
0
 /**
  * @test
  */
 public function setPaymentDateAsUnixTimestampWithNegativeTimestampThrowsException()
 {
     $this->setExpectedException('InvalidArgumentException', 'The parameter $timestamp must be >= 0.');
     $this->fixture->setPaymentDateAsUnixTimestamp(-1);
 }