@Test
public void testGetStatus() throws Exception {

  RequestStatusImpl status = new RequestStatusImpl(null);
  Assert.assertEquals(RequestStatus.Status.Complete, status.getStatus());
  Resource requestResource = new ResourceImpl(Resource.Type.Request);
  requestResource.setProperty("Requests/status", "InProgress");
  status = new RequestStatusImpl(requestResource);
  Assert.assertEquals(RequestStatus.Status.InProgress, status.getStatus());
}