@Test
void testSetSSLTrackingModeWithOtherMethod() {

    DefaultHttpSessionManager sessionManager = new DefaultHttpSessionManager();
    EnumSet<SessionTrackingMode> sslAndUrl = EnumSet.of(SessionTrackingMode.SSL, SessionTrackingMode.URL);
    assertThrows(IllegalArgumentException.class, () -> sessionManager.setSessionTrackingModes(sslAndUrl));
    EnumSet<SessionTrackingMode> sslAndCookie = EnumSet.of(SessionTrackingMode.COOKIE, SessionTrackingMode.SSL);
    assertThrows(IllegalArgumentException.class, () -> sessionManager.setSessionTrackingModes(sslAndCookie));
}