@Test public void _getIdValue() { assertThat(this.sut.getIdValue(null, 0), is(String.valueOf((Object) null))); assertThat(this.sut.getIdValue(SortRule.ASC, 0), is(String.valueOf(SortRule.ASC.ordinal()))); assertThat(this.sut.getIdValue(SortRule.DESC, 0), is(String.valueOf(SortRule.DESC.ordinal()))); }
@Test public void _getDisplayValue() { final Object ex = SortRule.ASC.getLabel(); assertThat(this.sut.getDisplayValue(SortRule.ASC), is(ex)); }