	@Test
	public void testPrettifyActionRequestActionResponse() throws Exception {

		MockActionRequest request = new MockActionRequest();
		MockActionResponse response = new MockActionResponse();

		PortalPropertiesPrettierPortlet portlet = createMockBuilder(
				PortalPropertiesPrettierPortlet.class).addMockedMethod(
				"prettify", PortletRequest.class).createMock();
		String expected = "expected";

		expect(portlet.prettify(request)).andReturn(expected);
		replay(portlet);

		portlet.prettify(request, response);

		Assert.assertEquals(expected,
				request.getAttribute("portalPrettyProperties"));
		verify(portlet);
	}