func (s *DeployLocalSuite) assertBindings(c *gc.C, service *state.Application, expected map[string]string) { bindings, err := service.EndpointBindings() c.Assert(err, jc.ErrorIsNil) c.Assert(bindings, jc.DeepEquals, expected) }