def METHOD_NAME(self):
    filepath = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data', 'coo_qubo.qubo')
    with open(filepath, 'r') as fp:
        bqm = coo.load(fp, vartype=dimod.BINARY)
    self.assertEqual(bqm, dimod.BinaryQuadraticModel.from_qubo({(0, 0): -1, (1, 1): -1, (2, 2): -1, (3, 3): -1}))