public function testBuilderIgnoresCanceledEventsWithHideCanceledDisabledThenEnabled() { $this->testingFramework->createRecord('tx_seminars_seminars', array('cancelled' => 1)); $this->fixture->allowCanceledEvents(); $this->fixture->ignoreCanceledEvents(); $bag = $this->fixture->build(); self::assertTrue($bag->isEmpty()); }