Beispiel #1
0
 @Test(expected = ProtocolException.class)
 public void checkDataFailIfNoAuth() throws Exception {
   ClientData.clearUserData();
   paste.checkData();
 }
Beispiel #2
0
 @Test(expected = ProtocolException.class)
 public void throwsErrorIfNoCredentialsPresent() throws Exception {
   paste.data.put("path", "asdsad");
   ClientData.clearUserData();
   paste.checkData();
 }
Beispiel #3
0
 @After
 public void clean() {
   ClientData.clearUserData();
 }