|
|
|
@ -40,8 +40,6 @@ class SortUnitTests { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Asserts that the class applies the default sort order if no order or {@code null} was provided. |
|
|
|
* Asserts that the class applies the default sort order if no order or {@code null} was provided. |
|
|
|
* |
|
|
|
|
|
|
|
* @throws Exception |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Test |
|
|
|
@Test |
|
|
|
void appliesDefaultForOrder() { |
|
|
|
void appliesDefaultForOrder() { |
|
|
|
@ -50,8 +48,6 @@ class SortUnitTests { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Asserts that the class rejects {@code null} as properties array. |
|
|
|
* Asserts that the class rejects {@code null} as properties array. |
|
|
|
* |
|
|
|
|
|
|
|
* @throws Exception |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Test |
|
|
|
@Test |
|
|
|
@SuppressWarnings("null") |
|
|
|
@SuppressWarnings("null") |
|
|
|
@ -61,8 +57,6 @@ class SortUnitTests { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Asserts that the class rejects {@code null} values in the properties array. |
|
|
|
* Asserts that the class rejects {@code null} values in the properties array. |
|
|
|
* |
|
|
|
|
|
|
|
* @throws Exception |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Test |
|
|
|
@Test |
|
|
|
void preventsNullProperty() { |
|
|
|
void preventsNullProperty() { |
|
|
|
@ -71,8 +65,6 @@ class SortUnitTests { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Asserts that the class rejects empty strings in the properties array. |
|
|
|
* Asserts that the class rejects empty strings in the properties array. |
|
|
|
* |
|
|
|
|
|
|
|
* @throws Exception |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Test |
|
|
|
@Test |
|
|
|
void preventsEmptyProperty() { |
|
|
|
void preventsEmptyProperty() { |
|
|
|
@ -81,8 +73,6 @@ class SortUnitTests { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Asserts that the class rejects no properties given at all. |
|
|
|
* Asserts that the class rejects no properties given at all. |
|
|
|
* |
|
|
|
|
|
|
|
* @throws Exception |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Test |
|
|
|
@Test |
|
|
|
void preventsNoProperties() { |
|
|
|
void preventsNoProperties() { |
|
|
|
|