Skip to content

Instantly share code, notes, and snippets.

@hugithordarson
Created August 30, 2015 10:39
Show Gist options
  • Save hugithordarson/7427ea246f6db46b7e94 to your computer and use it in GitHub Desktop.
Save hugithordarson/7427ea246f6db46b7e94 to your computer and use it in GitHub Desktop.
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