RM-4952 Add automation test for this bug.

Also remove setters from POJOs (and replace with builders where necessary).
This commit is contained in:
Tom Page
2017-04-18 09:46:45 +01:00
parent 72e35f2f3d
commit a73d7d461b

View File

@@ -35,6 +35,7 @@ import org.alfresco.rest.model.RestSiteModel;
import org.alfresco.rest.model.RestSiteModelsCollection;
import org.alfresco.rest.requests.coreAPI.RestCoreAPI;
import org.alfresco.rest.rm.community.requests.gscore.GSCoreAPI;
import org.alfresco.utility.model.StatusModel;
import org.alfresco.utility.model.UserModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
@@ -102,6 +103,12 @@ public class RMRestWrapper
restWrapper.processEmptyModel(simpleRequest);
}
/** Get the most recently returned status object. */
public StatusModel getLastStatus()
{
return restWrapper.getLastStatus();
}
/** Get the most recently returned status code. */
public String getStatusCode()
{