def METHOD_NAME(self):
    self.init_db()
    f = dbm.open(_fname, 'c')
    self._dict['g'] = f[b'g'] = b"indented"
    self.read_helper(f)
    # setdefault() works as in the dict interface
    self.assertEqual(f.setdefault(b'xxx', b'foo'), b'foo')
    self.assertEqual(f[b'xxx'], b'foo')
    f.close()