func assertLife(c *gc.C, entity state.Living, life state.Life) { err := entity.Refresh() c.Assert(err, jc.ErrorIsNil) c.Assert(entity.Life(), gc.Equals, life) }
func assertLife(c *gc.C, entity state.Living, life state.Life) { c.Assert(entity.Refresh(), gc.IsNil) c.Assert(entity.Life(), gc.Equals, life) }