@Test @Rollback(true) public void testGetBanner() { try { BannerController.getBanner(new MockHttpSession()); } catch (Exception e) { e.printStackTrace(); Assert.fail(); } }
/** Force dismiss the error banner. */ private void dismissErrorMessage() { mErrorBanner.dismiss(); }