Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 3c47cd8

Browse files
Restore unwrapped test case
1 parent d33e8bb commit 3c47cd8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/com/fasterxml/jackson/datatype/guava/FluentIterableTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ public void testSerializationWithoutModule() throws Exception {
3535
}
3636

3737
public void testSerialization() throws Exception {
38+
String json = MAPPER.writeValueAsString(createFluentIterable());
39+
assertEquals("[1,2,3]", json);
40+
}
41+
42+
public void testWrappedSerialization() throws Exception {
3843
FluentHolder holder = new FluentHolder();
3944
String json = MAPPER.writeValueAsString(holder);
4045
assertEquals("{\"value\":[1,2,3]}", json);

0 commit comments

Comments
 (0)