Created
August 30, 2015 10:39
-
-
Save hugithordarson/7427ea246f6db46b7e94 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package testing; | |
import org.junit.Test; | |
import app.Application; | |
import er.extensions.ERXExtensions; | |
import er.extensions.foundation.ERXProperties; | |
public class PropsTest { | |
@Test | |
public void test() { | |
ERXExtensions.initApp( Application.class, new String[] {} ); | |
System.out.println( "From ERXProperties: " + ERXProperties.stringForKey( "myAwesomeProperty" ) ); | |
System.out.println( "From System: " + System.getProperty( "myAwesomeProperty" ) ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment