@Test public void testValutazioneDisponibilitaBevanda() { User user_test = null; try { user_test = userFacade.login(Ruolo.AMMINISTRATORE, "123456"); } catch (RemoteException e) { fail("RemoteException"); } int test_return = 0; try { test_return = articoloFacade.selezionaDisponibilitaBevanda(user_test, bevanda.getId()); } catch (AccessControlException e) { test_return = 0; } catch (RemoteException e) { fail("RemoteException"); } try { userFacade.logout(user_test); } catch (RemoteException e) { fail("RemoteException"); } assertFalse(test_return > 0); }