@Test
public void testGetRequestPathWithContext() {

	when(
		_http.removePathParameters(
			"/c/portal/login;jsessionid=ACD311312312323BF.worker1")
	).thenReturn(
		"/c/portal/login"
	);
	MockHttpServletRequest request = new MockHttpServletRequest(
		HttpMethods.GET,
		"/portal/c/portal/login;jsessionid=ACD311312312323BF.worker1");
	request.setContextPath("/portal");
	Assert.assertEquals(
		"/c/portal/login", metadataManagerImpl.getRequestPath(request));
}