private void addInvited(Event e, String username) throws BusinessException {
    User u = userFacade.findByUsername(username);

    if (u != null) {
      e.addInvited(u);
    }
  }
Beispiel #2
0
 @Before
 public void setUp() throws Exception {
   DeviceUtils.createFakeDevice(new ErrorReporter());
   UserFacade.getInstance().getDeviceNames();
   // selectedDevice = new Device("dev1", 10000);
 }