Created
April 20, 2020 18:29
-
-
Save batmi02/542479a401bb718cf7821325748afc3b to your computer and use it in GitHub Desktop.
This file contains 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
List<Transaction> unsortedTransactions = transactionsTable.allData(); | |
transactionsTable.headerUI().select("AMOUNT"); | |
transactionsTable.assertThat() | |
.rows(hasItems(toArray(unsortedTransactions))) | |
.sortedBy((prev,next) -> prev.amount.value() < next.amount.value()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment