public class AppFrameTest extends TestCase {
public void testUpdateUrlLabel() {
final Server sv = createMock( Server.class );
expect( sv.getProtocol() ).andReturn( "" ).times( 1 );
expect( sv.getHost() ).andReturn( "MYHOST" ).times( 1 );
replay( sv );
final AppFrame a = new AppFrame( null, null, sv, null, new TestLocale() );
a.updateUrlLabel();