@Test @SuppressWarnings("unchecked") public void testRefreshCurrentSessionForms() { ClientSession session = mock(ClientSession.class); when(sessionManager.getCurrentSession()).thenReturn(session); tested.refreshCurrentSessionForms(); ArgumentCaptor<RefreshFormPropertiesEvent> eventCaptor = ArgumentCaptor.forClass(RefreshFormPropertiesEvent.class); verify(refreshFormsEvent, times(1)).fire(eventCaptor.capture()); RefreshFormPropertiesEvent event = eventCaptor.getValue(); assertEquals(session, event.getSession()); assertNull(event.getUuid()); }
public void refreshCurrentSessionForms() { refreshCurrentSessionForms(null); }
StunnerFormsHandler { public void refreshCurrentSessionForms() { refreshCurrentSessionForms(null); } }
StunnerFormsHandler { public void refreshCurrentSessionForms() { refreshCurrentSessionForms(null); } StunnerFormsHandler(); @Inject  StunnerFormsHandler(final SessionManager sessionManager,
                               final Event<RefreshFormPropertiesEvent> refreshFormsEvent); }
StunnerFormsHandler { public void refreshCurrentSessionForms() { refreshCurrentSessionForms(null); } StunnerFormsHandler(); @Inject  StunnerFormsHandler(final SessionManager sessionManager,
                               final Event<RefreshFormPropertiesEvent> refreshFormsEvent); void refreshCurrentSessionForms(); void refreshCurrentSessionForms(final Class<?> defSetType); }
StunnerFormsHandler { public void refreshCurrentSessionForms() { refreshCurrentSessionForms(null); } StunnerFormsHandler(); @Inject  StunnerFormsHandler(final SessionManager sessionManager,
                               final Event<RefreshFormPropertiesEvent> refreshFormsEvent); void refreshCurrentSessionForms(); void refreshCurrentSessionForms(final Class<?> defSetType);  }