Пример #1
0
 public function testPoll()
 {
     // Remove the following lines when you implement this test.
     $this->assertTrue($this->object->poll()->toNative() == 9);
     $this->assertTrue($this->object->poll()->toNative() == 8);
     $this->object->clear();
     $this->assertTrue($this->object->poll() == null);
 }