use of javax.swing.RowSorter.SortKey in project jmeter by apache.
the class ObjectTableSorterTest method setSortKeys_single.
@Test
public void setSortKeys_single() {
List<SortKey> keys = singletonList(new SortKey(0, SortOrder.ASCENDING));
sorter.setSortKeys(keys);
assertThat(sorter.getSortKeys(), allOf(is(not(sameInstance(keys))), is(equalTo(keys))));
}
Aggregations