File tree Expand file tree Collapse file tree
friendly-id/src/test/java/com/devskiller/friendly_id/type Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55import java .util .UUID ;
66
7+ import static com .devskiller .friendly_id .FriendlyIds .toFriendlyId ;
78import static com .devskiller .friendly_id .type .FriendlyId .friendlyId ;
89import static org .junit .jupiter .api .Assertions .*;
910
@@ -55,7 +56,7 @@ void shouldConvertToString() {
5556 String result = friendlyId .toString ();
5657
5758 // then
58- assertEquals (com . devskiller . friendly_id . FriendlyId . toFriendlyId (uuid ), result );
59+ assertEquals (toFriendlyId (uuid ), result );
5960 }
6061
6162 @ Test
@@ -128,7 +129,7 @@ void shouldBeEqualRegardlessOfCreationMethod() {
128129
129130 // when
130131 FriendlyId fromUuid = FriendlyId .of (uuid );
131- FriendlyId parsed = FriendlyId .parse (com . devskiller . friendly_id . FriendlyId . toFriendlyId (uuid ));
132+ FriendlyId parsed = FriendlyId .parse (toFriendlyId (uuid ));
132133
133134 // then
134135 assertEquals (fromUuid , parsed );
@@ -210,7 +211,7 @@ void shouldReturnValueAsString() {
210211
211212 // then
212213 assertEquals (id .toString (), value );
213- assertEquals (com . devskiller . friendly_id . FriendlyId . toFriendlyId (uuid ), value );
214+ assertEquals (toFriendlyId (uuid ), value );
214215 }
215216
216217}
You can’t perform that action at this time.
0 commit comments