public function testMultipleInsertInArrayFormat() { $array['query'] = array(array('table' => 'users', 'values' => array('firstname' => "John", 'lastname' => "Lennon")), array('table' => 'users', 'values' => array('firstname' => "Paul", 'lastname' => "McCartney"))); // Executes the SQL and stores the result $result = test::insert($array); $this->assertEquals(2, self::getNumRowsAffected($result), 'Test with Insert method'); }