ServiceClassExistsAndEqual(t *testing.T, expectedElement shared.ServiceInstance, arr []shared.ServiceInstance) {  assert.Condition(t, func() (success bool) {   for _, v := range arr {    if v.Name == expectedElement.Name {     checkInstanceFromServiceClass(t, expectedElement, v)     return true    }   }    return false  }, "Resource does not exist") }  func 