func (s *uniterSuite) assertInScope(c *gc.C, relUnit *state.RelationUnit, inScope bool) { ok, err := relUnit.InScope() c.Assert(err, gc.IsNil) c.Assert(ok, gc.Equals, inScope) }
func assertNotInScope(c *gc.C, ru *state.RelationUnit) { ok, err := ru.InScope() c.Assert(err, gc.IsNil) c.Assert(ok, jc.IsFalse) }