@Test
public void testTrackingFromEnum() throws InstantiationException, IllegalAccessException {

  SessionTracking tracking = SessionHelpers.trackingFromEnum("URL");
  assertTrue("Expecting instance of UrlSessionTracking", tracking instanceof UrlSessionTracking);
  tracking = SessionHelpers.trackingFromEnum("DEFAULT");
  assertTrue("Expecting instance of CookieSessionTracking", tracking instanceof CookieSessionTracking);
  tracking = SessionHelpers.trackingFromEnum("COOKIE");
  assertTrue("Expecting instance of CookieSessionTracking", tracking instanceof CookieSessionTracking);
  tracking = SessionHelpers.trackingFromEnum("BAD");
  assertNull(tracking);
}