code: func (actor Actor) GetApplicationByNameAndSpace(name string, spaceGUID string) (Application, Warnings, error) {
  	app, warnings, err := actor.CloudControllerClient.GetApplications(
  		ccv2.Filter{
  			Type:     constant.NameFilter,
  			Operator: constant.EqualOperator,
  			Values:   []string{name},
  		},
  		ccv2.Filter{
  			Type:     constant.SpaceGUIDFilter,
  			Operator: constant.EqualOperator,
  			Values:   []string{spaceGUID},
  		},
  	)
  
  	if err != nil {
  		return Application{}, Warnings(warnings), err
  	}
  
  	if len(app) == 0 {
  		return Application{}, Warnings(warnings), actionerror.ApplicationNotFoundError{
  			Name: name,
  		}
  	}
  
  	return Application(app[0]), Warnings(warnings), nil
  }
docs: // GetApplicationByNameAndSpace returns an application with matching name in
  // the space.