@Test public void getStatus() throws NamingException, UnauthorizedException { deliveryBean.setStatus(deliveryId, 2); assertEquals(2, delivery.getStatus()); }