예제 #1
0
 public function testSeeElementIsArrayThrowsError()
 {
     $this->setExpectedException('PHPUnit_Framework_ExpectationFailedException');
     $this->userCollection->insert(array('id' => 5, 'trumpets' => array('piccolo', 'bass', 'slide')));
     $this->userCollection->insert(array('id' => 6, 'trumpets' => array('piccolo', 'bass', 'slide')));
     $this->module->seeElementIsArray('users', array(), 'trumpets');
 }