提交 be14f2c5 编写于 作者: T tristaZero

add assertGetKeyGeneratorClassName()

上级 41bcd3ef
......@@ -32,4 +32,9 @@ public class KeyGeneratorTypeTest {
assertThat(KeyGeneratorType.getKeyGeneratorType(""),
is(Optional.of(KeyGeneratorType.UUID)));
}
@Test
public void assertGetKeyGeneratorClassName() {
assertThat(KeyGeneratorType.SNOWFLAKE.getKeyGeneratorClassName(), is("io.shardingsphere.core.keygen.SnowflakeKeyGenerator"));
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册