@Test
public void shouldReadRootDirectoryAsWebinfClasses() throws ServletException {

when(context.getRealPath("/WEB-INF/classes/")).thenReturn("/x/WEB-INF/classes/");
assertThat(config.getWebinfClassesDirectory(), is("/x/WEB-INF/classes/"));
}