コード例 #1
0
 /**
  * @covers Phossa\Event\EventQueue::flush
  */
 public function testFlush()
 {
     $callable = [$this->object, 'count'];
     $this->object->insert($callable, 10);
     $this->assertTrue(1 === $this->object->count());
     $this->object->flush();
     $this->assertTrue(0 === $this->object->count());
 }