@Before @Override public void setup() throws Exception { super.setup(); when(userDAO.findById("woo")).thenReturn(null); }
@Before @Override public void setup() throws Exception { super.setup(); when(keySet.unlock(any(char[].class))).thenThrow(new CryptographicException("augh")); }
@Before @Override public void setup() throws Exception { super.setup(); }