public function testScopedDelete()
{
$query = new Query(array('type' => 'delete', 'conditions' => array('published' => false), 'model' => $this->_model));
$sql = 'DELETE FROM {mock_database_posts} WHERE {published} = 0;';
$this->assertEqual($sql, $this->_db->renderCommand($query));
}