bamboo test
[jalview.git] / test / jalview / analysis / scoremodels / ScoreModelsTest.java
index 5e44d3d..9684cf2 100644 (file)
@@ -7,6 +7,8 @@ import static org.testng.Assert.assertTrue;
 import jalview.api.analysis.PairwiseScoreModelI;
 import jalview.api.analysis.ScoreModelI;
 
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
 import java.util.Iterator;
 
 import org.testng.annotations.Test;
@@ -102,4 +104,17 @@ public class ScoreModelsTest
       }
     }
   }
+
+  @Test(groups = "Functional")
+  public void testInstantiate()
+          throws InstantiationException, IllegalAccessException,
+          NoSuchMethodException, SecurityException,
+          IllegalArgumentException, InvocationTargetException
+  {
+    Class<? extends Object> c = ScoreModels.class;
+    Constructor<? extends Object> con = c.getDeclaredConstructor();
+    con.setAccessible(true);
+    Object o = con.newInstance();
+    System.out.println(o);
+  }
 }