This commit is contained in:
Looly
2022-06-05 23:20:00 +08:00
parent 2be16f97aa
commit b9738afef9
2 changed files with 19 additions and 4 deletions

View File

@@ -392,4 +392,16 @@ public class ConvertTest {
final LocalDate convert = Convert.convert(LocalDate.class, localDateTime);
Assert.assertEquals(localDateTime.toLocalDate(), convert);
}
@Test
public void toSBCTest(){
final String s = Convert.toSBC(null);
Assert.assertNull(s);
}
@Test
public void toDBCTest(){
final String s = Convert.toDBC(null);
Assert.assertNull(s);
}
}