mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
test: add test for issues IBYEZ7
This commit is contained in:
parent
848d709140
commit
06a798eed7
@ -0,0 +1,14 @@
|
|||||||
|
package com.mybatisflex.coretest;
|
||||||
|
|
||||||
|
import com.mybatisflex.core.util.UpdateEntity;
|
||||||
|
import org.junit.Assert;
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
public class UpdateEntityTest {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testIssuesIBYEZ7() {
|
||||||
|
Article article = UpdateEntity.of(Article.class, 1);
|
||||||
|
Assert.assertEquals(1, (long) article.getId());
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user