Skip to content

Commit

Permalink
Fix compile errors in MapToObjectSerializerTest due to soft merge con…
Browse files Browse the repository at this point in the history
…flict
  • Loading branch information
aguibert committed Oct 14, 2019
1 parent aeff4be commit a88c9f4
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
******************************************************************************/
package org.eclipse.yasson.serializers;

import org.junit.Assert;
import org.junit.Test;

import javax.json.bind.Jsonb;
import javax.json.bind.JsonbBuilder;
import javax.json.bind.JsonbConfig;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertTrue;

import java.util.EnumMap;
import java.util.Map;

Expand Down Expand Up @@ -53,7 +55,7 @@ public void testSerializeEnumMapToObject() {
map.put(TestEnum.TWO, "value2");
String json = jsonb.toJson(map);
for (TestEnum e : TestEnum.values()) {
Assert.assertTrue("Enumeration not well serialized", json.contains(e.name()));
assertTrue(json.contains(e.name()), "Enumeration not well serialized");
}
}
}

0 comments on commit a88c9f4

Please sign in to comment.