/*
 * Copyright 2006-2023 DLR, Germany
 * 
 * SPDX-License-Identifier: EPL-1.0
 * 
 * https://rcenvironment.de/
 */

package de.rcenvironment.core.configuration.bootstrap;

import static org.junit.Assert.assertTrue;

import org.junit.Test;

/**
 * Tests for {@link RuntimeDetection}.
 *
 * @author Tobias Brieden
 */
public class RuntimeDetectionTest {

    /**
     * Tests if the execution of a test is correctly detected.
     *
     */
    @Test
    public void test() {
        // should be true in OSGi and non-OSGi test environments
        assertTrue(RuntimeDetection.isTestEnvironment());
    }
}
