@@ -0,0 +1,975 @@
+package com.codeaffine.home.control.admin.ui;%0A%0Aimport static org.mockito.Mockito.*;%0A%0Aimport org.eclipse.rap.rwt.client.service.BrowserNavigation;%0Aimport org.junit.Test;%0Aimport org.mockito.InOrder;%0A%0Apublic class UiActionsTest %7B%0A%0A  private static final String ID = %22id%22;%0A%0A  @Test%0A  public void activatePage() %7B%0A    String id = ID;%0A    AdminUiView view = mock( AdminUiView.class );%0A    BrowserNavigation navigation = mock( BrowserNavigation.class );%0A    PageContribution contribution = stubContribution( id );%0A%0A    UiActions.activatePage( contribution, navigation, view );%0A%0A    InOrder order = inOrder( view, contribution, navigation );%0A    order.verify( view ).showPage( ID );%0A    order.verify( contribution ).setFocus();%0A    order.verify( navigation ).pushState( ID, ID );%0A  %7D%0A%0A  private static PageContribution stubContribution( String id ) %7B%0A    PageContribution result = mock( PageContribution.class );%0A    when( result.getId() ).thenReturn( id );%0A    return result;%0A  %7D%0A%7D%0A

Add UiActionsTest