Posted By

udayrayala on 02/21/08


Tagged

test java sample


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

zdroshnya


Another Code


 / Published in: Java
 

  1. public void testRefreshDoesNothingIfClipBoardContentsNotChanged() {
  2. queue = mockClipBoardQueue(false, "Any thing");
  3.  
  4. insertDummyValuesIntoQueue(2);
  5. assertFalse(queue.refresh());
  6.  
  7. assertEquals(2, queue.getQueue().size());
  8. }

Report this snippet  

You need to login to post a comment.