func ensureUnitDead(c *gc.C, unit *state.Unit) { err := unit.EnsureDead() c.Assert(err, jc.ErrorIsNil) }
func assertUnitDead(c *gc.C, unit *state.Unit) { err := unit.EnsureDead() c.Assert(err, gc.IsNil) }