|
1 | 1 | package in.kuros.jfirebase.provider.firebase; |
2 | 2 |
|
3 | | -import com.fasterxml.jackson.core.JsonProcessingException; |
| 3 | +import static org.junit.jupiter.api.Assertions.assertEquals; |
| 4 | +import static org.junit.jupiter.api.Assertions.assertIterableEquals; |
| 5 | +import static org.junit.jupiter.api.Assertions.assertNotNull; |
| 6 | +import static org.junit.jupiter.api.Assertions.assertNull; |
| 7 | +import static org.junit.jupiter.api.Assertions.assertThrows; |
| 8 | + |
4 | 9 | import com.google.cloud.firestore.FieldPath; |
5 | 10 | import com.google.common.collect.Lists; |
6 | 11 | import in.kuros.jfirebase.entity.TestClass; |
|
9 | 14 | import in.kuros.jfirebase.metadata.AttributeValue; |
10 | 15 | import in.kuros.jfirebase.metadata.MetadataProcessor; |
11 | 16 | import in.kuros.jfirebase.metadata.ValuePath; |
12 | | -import org.apache.commons.lang3.RandomStringUtils; |
13 | | -import org.junit.jupiter.api.BeforeEach; |
14 | | -import org.junit.jupiter.api.Test; |
15 | | - |
16 | 17 | import java.util.ArrayList; |
17 | 18 | import java.util.HashMap; |
18 | 19 | import java.util.List; |
19 | 20 | import java.util.Map; |
20 | | - |
21 | | -import static org.junit.jupiter.api.Assertions.assertEquals; |
22 | | -import static org.junit.jupiter.api.Assertions.assertIterableEquals; |
23 | | -import static org.junit.jupiter.api.Assertions.assertNotNull; |
24 | | -import static org.junit.jupiter.api.Assertions.assertNull; |
25 | | -import static org.junit.jupiter.api.Assertions.assertThrows; |
| 21 | +import org.apache.commons.lang3.RandomStringUtils; |
| 22 | +import org.junit.jupiter.api.BeforeEach; |
| 23 | +import org.junit.jupiter.api.Test; |
26 | 24 |
|
27 | 25 | class AttributeValueHelperTest { |
28 | 26 |
|
@@ -78,7 +76,7 @@ void shouldCreateFieldPathForAttributeValues() { |
78 | 76 | } |
79 | 77 |
|
80 | 78 | @Test |
81 | | - void shouldAddValuePathsToMap() throws JsonProcessingException { |
| 79 | + void shouldAddValuePathsToMap() { |
82 | 80 | final Map<String, Object> map = new HashMap<>(); |
83 | 81 | map.put("xyz", "lkasd"); |
84 | 82 |
|
|
0 commit comments