Code example for FilePermission

0
	/** 
	 * Sets up the fixture, for example, open a network connection. This method 
	 * is called before a test is executed. 
	 */ 
	protected void setUp() { 
		filePermission = new FilePermission("/*", "read");
		acException = new AccessControlException("test message");
		acException1 = new AccessControlException("test message",
				filePermission);
	} 
}