Tests for new find types
[activemongo.git] / tests / Bugs.php
blobfbfe00fe52ab2147726308de21dfff4a573cfc61
1 <?php
3 /**
4 * Test for known bugs. If you find a bug and fixed
5 * it, here is the right place to write the tests.
7 */
8 class BugsTest extends PHPUnit_Framework_TestCase
10 /**
11 * fixed by dfa (Dominik Fässler <d.faessler@ambf.ch>)
13 function testNormalIteration()
15 $m1 = new Model1;
16 $m1->doQuery();
17 $a1 = $m1->a;
18 $m1->next();
19 $a2 = $m1->a;
20 $this->assertNotEquals($a1, $a2);