Package org.onpu.websimlpe.common

Examples of org.onpu.websimlpe.common.Config


import junit.framework.TestCase;
import org.onpu.websimlpe.common.Config;

public class ConfigTest extends TestCase {
    public void test() throws  Exception {
        Config config = Config.getInstance();
        assertEquals(config.get("server.port"), "8000");
        assertNull(config.get("incorrect.key"));
    }
View Full Code Here

TOP

Related Classes of org.onpu.websimlpe.common.Config

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.