Created
February 22, 2017 08:49
-
-
Save madhu314/ad6ca7cb5327b4b02904d8d02ada8027 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test public void testAddShouldSortListIrrespectiveOfOrder() throws Exception { | |
addArticles(); | |
for (int i = 0; i < fixture.orderedArticleList().size(); i++) { | |
assertThat(fixture.sortedList().get(i)) | |
.isEqualTo(fixture.orderedArticleList().get(i)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment