@Test
public void testGetTitle() throws PortalException {

	MockHttpServletRequest mockHttpServletRequest =
		new MockHttpServletRequest();
	ThemeDisplay themeDisplay = new ThemeDisplay();
	themeDisplay.setCompany(Mockito.mock(Company.class));
	mockHttpServletRequest.setAttribute(
		WebKeys.THEME_DISPLAY, themeDisplay);
	Assert.assertEquals(
		"htmlTitle", _titleProvider.getTitle(mockHttpServletRequest));
}