final URL url = new URL( "http://spice.sourveforge.net" );
final CodeSource codeSource = new CodeSource( url, new Certificate[ 0 ] );
final Permissions permissions = new Permissions();
try
{
final PolicyEntry entry = new PolicyEntry( codeSource, permissions );
assertEquals( "Entry.getCodeSource", codeSource, entry.getCodeSource() );
assertEquals( "Entry.getPermissions", permissions, entry.getPermissions() );
}
catch( final Throwable t )
{
fail( "Expected ctor not to except" );
}