Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public function testInsertingSomething()
$something = array(
'something_id' => 123,
'someother_value' => 10
$dbMock = m::mock('Zend_Db_Adapter_Mysqli');
->with('SELECT something_id FROM somethings WHERE something_id = ?', 123)
->with('somethings', $something)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.