diff --git a/dsms-engine-application/src/test/java/com/dsms/common/model/DatabaseFieldSubBOTest.java b/dsms-engine-application/src/test/java/com/dsms/common/model/DatabaseFieldSubBOTest.java new file mode 100644 index 0000000000000000000000000000000000000000..48c27b93ea4f3d22c106c94e94acddf3e9b24439 --- /dev/null +++ b/dsms-engine-application/src/test/java/com/dsms/common/model/DatabaseFieldSubBOTest.java @@ -0,0 +1,17 @@ +package com.dsms.common.model; + +import com.dsms.common.taskmanager.model.Task; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +class DatabaseFieldSubBOTest { + + @Test + void testDatabaseFieldSubBOTest() { + DatabaseFieldSubBO databaseFieldSubBO = new DatabaseFieldSubBO(Task.class, "id", 32); + Assertions.assertEquals(Task.class, databaseFieldSubBO.getClazz()); + Assertions.assertEquals("id", databaseFieldSubBO.getTableFieldName()); + Assertions.assertEquals(32, databaseFieldSubBO.getDatabaseLength()); + } + +} \ No newline at end of file