public function testRemovePaymentLimitationRemovesUnpaidLimit() { $this->testingFramework->createRecord('tx_seminars_attendances', array('datepaid' => $GLOBALS['SIM_EXEC_TIME'])); $this->fixture->limitToUnpaid(); $this->fixture->removePaymentLimitation(); $registrationBag = $this->fixture->build(); self::assertTrue($registrationBag->current()->isPaid()); }