/ Published in: ASP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public void testRefreshAddsCurrentElementAtTopAndRemovesLastContentIfClipBoardContentsAreChangedAndOfMaxSize() { queue = mockClipBoardQueue(true, "New Content"); insertDummyValuesIntoQueue(2); assertTrue(queue.refresh()); assertEquals(3, queue.getQueue().size()); assertEquals("New Content", queue.getQueue().getFirst()); }
Comments
