Skip to content

Commit 55b25ad

Browse files
committed
Increased coverage
1 parent a7fea62 commit 55b25ad

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

fj-core/src/test/java/test/org/fugerit/java/core/io/TestObjectIO.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,10 @@ public void testStringOk() throws IOException {
2222
Assert.assertEquals( "a", test2 );
2323
}
2424

25+
@Test
26+
public void testKo() throws IOException {
27+
SimpleValue val = new SimpleValue( "b" );
28+
Assert.assertThrows( IOException.class, () -> ObjectIO.fullSerializationTest( val ) );
29+
}
2530

2631
}

0 commit comments

Comments
 (0)