Code example for SecurityPermission

Methods: toString

0
	 * @tests java.security.Permission#toString() 
	 */ 
	public void test_toString() { 
		// test method java.security.permission.toString 
		// test for permission with no action 
		SecurityPermission permi = new SecurityPermission("testing toString");
		String toString = permi.toString();
		assertNotNull("toString should have returned a string of elements",
				toString);
	} 
}