'Calls BlockStructureModel.update_or_create
and verifies the response.'

def _verify_update_or_create_call(self, serialized_data, mock_log=None, expect_created=None):

    (bsm, created) = BlockStructureModel.update_or_create(serialized_data, **self.params)
    if mock_log:
        self.assertEqual(('Created' if expect_created else 'Updated'), mock_log.info.call_args[0][1])
        self.assertEqual(len(serialized_data), mock_log.info.call_args[0][6])
    self._assert_bsm_fields(bsm, serialized_data)
    if (expect_created is not None):
        self.assertEqual(created, expect_created)
    return bsm
