@Test
public void commandNotAuthenticated() throws XMPPException {

    ModelAndView mav = controller.command("foo", session);
    
    Assert.assertEquals("index", mav.getViewName());
    Assert.assertNull(mav.getModel().get("authenticated"));
}