@Test
public void testIsLightStreamer_SystemPropertyFound() {

    String systemPropertyName = "com.lightstreamer.kernel_lib_path";
    System.setProperty(systemPropertyName, "path");
    try {
        Instrumentation mockInstrumentation = createMock(Instrumentation.class);
        assertTrue(detector.isLightStreamer(mockInstrumentation));
    } finally {
        System.clearProperty(systemPropertyName);
    }
}