+ validateBean单元测试

This commit is contained in:
JerryMa1024 2020-08-18 08:56:22 +08:00
parent 7683f78159
commit 4a69e0163a
1 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,7 @@
*/
package diboot.core.test.util;
import com.diboot.core.entity.Dictionary;
import com.diboot.core.util.S;
import com.diboot.core.util.V;
import org.junit.Assert;
@ -85,6 +86,11 @@ public class VTest {
Assert.assertTrue(V.equals(list1, list2));
}
@Test
public void testValidateBean(){
String msg = V.validateBean(new Dictionary());
System.out.println(msg);
Assert.assertTrue(msg != null);
}
}