|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package com.fr.design.preview; |
|
|
|
|
|
|
|
|
|
import com.fr.design.mainframe.JForm; |
|
|
|
|
import com.fr.design.mainframe.JWorkBook; |
|
|
|
|
import com.fr.general.web.ParameterConstants; |
|
|
|
|
import org.easymock.EasyMock; |
|
|
|
|
import org.junit.Assert; |
|
|
|
@ -25,6 +24,5 @@ public class FormAdaptivePreviewTest {
|
|
|
|
|
public void testAccept() { |
|
|
|
|
FormAdaptivePreview formPreview = new FormAdaptivePreview(); |
|
|
|
|
Assert.assertTrue(formPreview.accept(EasyMock.mock(JForm.class))); |
|
|
|
|
Assert.assertFalse(formPreview.accept(EasyMock.mock(JWorkBook.class))); |
|
|
|
|
} |
|
|
|
|
} |