@Test
public void testInvalidTrackingMode() throws IOException {

  try (ByteArrayInputStream bais = new ByteArrayInputStream(withInvalidTrackingMode.getBytes("UTF-8"))) {
    SessionConfiguration sessionConfiguration = new SessionConfiguration();
    WebXmlParser.parseStream(sessionConfiguration, bais);
    assertEquals(1, sessionConfiguration.getSessionTracking().length);
    assertEquals("DEFAULT", sessionConfiguration.getSessionTracking()[0]);
  }
}