Skip to content

Commit f71de96

Browse files
committed
chore: codacy issue #569
1 parent a1ee831 commit f71de96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fj-doc-mod-poi/src/test/java/test/org/fugerit/java/doc/mod/poi/coverage/TestPoiCoverage.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ void test01() {
4545

4646
@Test
4747
void testDoc() {
48+
SimpleValue<Integer> count = new SimpleValue<>( 0 );
4849
Arrays.asList( "test_doc", "test_doc_alt" ).forEach( fileName -> {
4950
SafeFunction.apply( () -> {
5051
DocTypeHandler handler = XlsxPoiTypeHandler.HANDLER;
@@ -56,8 +57,10 @@ void testDoc() {
5657
handler.handle( DocInput.newInput( handler.getType(), reader ), DocOutput.newOutput( fos ) );
5758
}
5859
Assertions.assertTrue( output.exists() );
60+
count.setValue( count.getValue()+1 );
5961
});
6062
});
63+
Assertions.assertNotEquals( 0, count.getValue() );
6164
}
6265

6366
}

0 commit comments

Comments
 (0)