@Test
public void testGetThemeIdWithoutServletContext() {

	FrontendTokenDefinitionRegistryImpl
		frontendTokenDefinitionRegistryImpl =
			new FrontendTokenDefinitionRegistryImpl();
	Bundle bundle = Mockito.mock(Bundle.class);
	Mockito.when(
		bundle.getEntry("WEB-INF/liferay-look-and-feel.xml")
	).thenReturn(
		_liferayLookAndFeelXMLURL
	);
	Mockito.when(
		bundle.getHeaders(Mockito.anyString())
	).thenReturn(
		new HashMapDictionary<>()
	);
	frontendTokenDefinitionRegistryImpl.portal = new PortalImpl();
	Assert.assertEquals(
		"classic", frontendTokenDefinitionRegistryImpl.getThemeId(bundle));
}