package com.fr.base; import com.fr.form.main.Form; import com.fr.main.impl.WorkBook; import java.util.Set; import junit.framework.TestCase; import org.junit.Assert; /** * @author hades * @version 10.0 * Created by hades on 2020/12/28 */ public class ClassHelperTest extends TestCase { public void testGetPluginClassLoaders() { WorkBook workBook = new WorkBook(); Set set = ClassHelper.getPluginClassLoaders(workBook); Assert.assertEquals(0, set.size()); Form form = new Form(); Set set1 = ClassHelper.getPluginClassLoaders(form); Assert.assertEquals(0, set1.size()); } }