def METHOD_NAME(self):
    m = ConcreteModel()
    m.t = ContinuousSet(bounds=(0, 1))
    m.x = ContinuousSet(bounds=(5, 10))
    m.s = Set(initialize=[1, 2, 3])
    m.v = Var(m.t)
    m.v2 = Var(m.s, m.t)
    m.v3 = Var(m.x, m.t)
    m.y = Var()
    # Not passing a Var as the first positional argument
    with self.assertRaises(DAE_Error):
        m.ds = DerivativeVar(m.s)
    # Specifying both option aliases
    with self.assertRaises(TypeError):
        m.dv = DerivativeVar(m.v, wrt=m.t, withrespectto=m.t)
    # Passing in Var not indexed by a ContinuousSet
    with self.assertRaises(DAE_Error):
        m.dy = DerivativeVar(m.y)
    # Not specifying 'wrt' when Var indexed by multiple ContinuousSets
    with self.assertRaises(DAE_Error):
        m.dv3 = DerivativeVar(m.v3)
    # 'wrt' is not a ContinuousSet
    with self.assertRaises(DAE_Error):
        m.dv2 = DerivativeVar(m.v2, wrt=m.s)
    with self.assertRaises(DAE_Error):
        m.dv2 = DerivativeVar(m.v2, wrt=(m.t, m.s))
    # Specified ContinuousSet does not index the Var
    with self.assertRaises(DAE_Error):
        m.dv = DerivativeVar(m.v, wrt=m.x)
    with self.assertRaises(DAE_Error):
        m.dv2 = DerivativeVar(m.v2, wrt=[m.t, m.x])
    # Declaring the same derivative twice
    m.dvdt = DerivativeVar(m.v)
    with self.assertRaises(DAE_Error):
        m.dvdt2 = DerivativeVar(m.v)
    m.dv2dt = DerivativeVar(m.v2, wrt=m.t)
    with self.assertRaises(DAE_Error):
        m.dv2dt2 = DerivativeVar(m.v2, wrt=m.t)
    m.dv3 = DerivativeVar(m.v3, wrt=(m.x, m.x))
    with self.assertRaises(DAE_Error):
        m.dv4 = DerivativeVar(m.v3, wrt=(m.x, m.x))