Package org.onpu.websimlpe

Source Code of org.onpu.websimlpe.ConfigTest

package org.onpu.websimlpe;

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"));
    }
}
TOP

Related Classes of org.onpu.websimlpe.ConfigTest

TOP
Copyright © 2018 www.massapi.com. 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.