@Test
public void testNotDistributable() throws IOException {

  String webXml = Descriptors.create(WebAppDescriptor.class).version("3.0").exportAsString();
  try (ByteArrayInputStream bais = new ByteArrayInputStream(webXml.getBytes("UTF-8"))) {
    SessionConfiguration sessionConfiguration = new SessionConfiguration();
    sessionConfiguration.setDistributable(true);
    WebXmlParser.parseStream(sessionConfiguration, bais);
  }
}