final ODataResponse wrappedResponse = mockResponse(HttpStatusCodes.OK, null, null);
UriInfo uriInfo = mock(UriInfo.class);
final FilterExpression filter = UriParser.parseFilter(null, null, "true");
when(uriInfo.getFilter()).thenReturn(filter);
final OrderByExpression orderBy = UriParser.parseOrderBy(null, null, "true");
when(uriInfo.getOrderBy()).thenReturn(orderBy);
List<ArrayList<NavigationPropertySegment>> expand = new ArrayList<ArrayList<NavigationPropertySegment>>();
NavigationPropertySegment segment = mock(NavigationPropertySegment.class);
EdmNavigationProperty navigationProperty = mock(EdmNavigationProperty.class);
when(navigationProperty.getName()).thenReturn("nav");