SHARE
TWEET

Untitled

a guest Oct 21st, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void testGetTeacherRecordDetails() {
  2.         delayTestFinish(10000);
  3.  
  4.         this.teacherRecordService.getTeacherRecordDetails(new AsyncCallback<ArrayList<TeacherRecordDetails>>() {
  5.             public void onFailure(Throwable caught) {
  6.                 fail("Request failure: " + caught.getMessage());
  7.             }
  8.  
  9.             public void onSuccess(ArrayList<TeacherRecordDetails> result) {
  10.                 assertTrue(result != null);
  11.  
  12.                 TeacherRecordDetails teacherRecord1 = new TeacherRecordDetails(0, "Hollie Voss");
  13.                 TeacherRecordDetails teacherRecord2 = new TeacherRecordDetails(1, "Emerson Milton");
  14.  
  15.                 assertTrue(result.contains(teacherRecord1));
  16.                 assertTrue(result.contains(teacherRecord2));
  17.  
  18.                 finishTest();
  19.             }
  20.         });
  21.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top