Skip to content

Commit

Permalink
not use static import that not needed #925
Browse files Browse the repository at this point in the history
  • Loading branch information
btyanagawamg committed Dec 23, 2019
1 parent d5d7f12 commit d1e819d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import static org.springframework.data.domain.Sort.by;

import java.util.ArrayList;
import java.util.Iterator;
Expand Down Expand Up @@ -114,7 +113,7 @@ public void testCreateAttributeMap_SortSet() {

// run
Map<String, Object> attributesMap = PaginationInfo.createAttributeMap(
page, size, by(Direction.DESC, "id"));
page, size, Sort.by(Direction.DESC, "id"));

// assert
assertThat(Integer.valueOf(attributesMap.get("page").toString()), is(
Expand Down

0 comments on commit d1e819d

Please sign in to comment.