when(login.getUserType()).thenReturn(userType);
TransportCostBasisManager transportCostBasisManager = (TransportCostBasisManager) ModelUtil
.getBean(TransportCostBasisManager.MANAGER_NAME);
TransportCostViewHandler viewHandler = new TransportCostViewHandler(
login, transportCostBasisManager);
final TransportCostView view = new TransportCostView(viewHandler);
JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
protected JDialog executeInEDT() {