func assertNotInScope(c *gc.C, ru *state.RelationUnit) { assertNotJoined(c, ru) ok, err := ru.InScope() c.Assert(err, gc.IsNil) c.Assert(ok, jc.IsFalse) }
func assertInScope(c *gc.C, ru *state.RelationUnit) { ok, err := ru.InScope() c.Assert(err, gc.IsNil) c.Assert(ok, jc.IsTrue) }