Skip to content

Commit

Permalink
[PAGOPA-2168] log optimization: added junit test
Browse files Browse the repository at this point in the history
  • Loading branch information
aacitelli authored and aacitelli committed Sep 27, 2024
2 parents aff1bf2 + 5fabb0e commit 9060625
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package it.gov.pagopa.bizeventsservice.util;

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

import org.junit.jupiter.api.Test;

class CommonUtilTest {

@Test
void deNullTest() {
assertEquals("",CommonUtil.deNull(null));
assertEquals("String",CommonUtil.deNull("String"));
}

}

0 comments on commit 9060625

Please sign in to comment.