mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-30 04:45:55 +08:00
add tesrt
This commit is contained in:
parent
4e12aa52c9
commit
913e97c272
@ -777,4 +777,20 @@ public class BeanUtilTest {
|
||||
public static class Test2 {
|
||||
private List<Integer> strList;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void issuesI53O9JTest(){
|
||||
Map<String, String> map = new HashMap<>();
|
||||
map.put("statusIdUpdateTime", "");
|
||||
|
||||
WkCrmCustomer customer = new WkCrmCustomer();
|
||||
BeanUtil.copyProperties(map, customer);
|
||||
|
||||
Assert.assertNull(customer.getStatusIdUpdateTime());
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class WkCrmCustomer{
|
||||
private LocalDateTime statusIdUpdateTime;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user