public void testIsServiceClass() {
BeanContextServices services = new MockBeanContextServices();
BeanContextServiceRevokedEvent event = new MockBeanContextServiceRevokedEvent(
services, BeanContext.class, true);
assertTrue(event.isServiceClass(BeanContext.class));
assertFalse(event.isServiceClass(Integer.class));
// Regression for HARMONY-1516
assertFalse(event.isServiceClass(null));
}
BeanContextServiceRevokedEventTest.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:freeVM
作者:
评论列表
文章目录