code: func (actor Actor) GetApplicationByNameAndSpace(appName string, spaceGUID string) (Application, Warnings, error) {
  	apps, warnings, err := actor.CloudControllerClient.GetApplications(
  		ccv3.Query{Key: ccv3.NameFilter, Values: []string{appName}},
  		ccv3.Query{Key: ccv3.SpaceGUIDFilter, Values: []string{spaceGUID}},
  	)
  	if err != nil {
  		return Application{}, Warnings(warnings), err
  	}
  
  	if len(apps) == 0 {
  		return Application{}, Warnings(warnings), actionerror.ApplicationNotFoundError{Name: appName}
  	}
  
  	return actor.convertCCToActorApplication(apps[0]), Warnings(warnings), nil
  }
docs: // GetApplicationByNameAndSpace returns the application with the given
  // name in the given space.