@Test
public void testGetServletContextName() {

	FrontendTokenDefinitionRegistryImpl
		frontendTokenDefinitionRegistryImpl =
			new FrontendTokenDefinitionRegistryImpl();
	Bundle bundle = Mockito.mock(Bundle.class);
	Dictionary<String, String> headers = new HashMapDictionary<>();
	headers.put("Web-ContextPath", "/my-theme");
	Mockito.when(
		bundle.getHeaders(Mockito.anyString())
	).thenReturn(
		headers
	);
	Assert.assertEquals(
		"my-theme",
		frontendTokenDefinitionRegistryImpl.getServletContextName(bundle));
}