@Test
public void testApplyNullPath() {
final ServletContext servletContext = createMock(ServletContext.class);
final InitParamsToProperties converter = createMock(InitParamsToProperties.class);
Properties props = new Properties();
props.setProperty("foo", "bar");
expect(servletContext.getContextPath()).andReturn(null);
expect(servletContext.getServerInfo()).andReturn("serverinfo");
expect(converter.apply(servletContext)).andReturn(props);
replay(servletContext);
replay(converter);
Injector injector = Guice.createInjector(new GsonModule(),