public void verifyTestMethodLevel() throws SecurityException, NoSuchMethodException
{
Method method = MTest1.class.getMethod("f");
ITestAnnotation test1 = m_finder.findAnnotation(method, ITestAnnotation.class);
Assert.assertTrue(test1.getEnabled());
Assert.assertEqualsNoOrder(test1.getGroups(), new String[] { "group1", "group3", "group4", "group2" });
Assert.assertTrue(test1.getAlwaysRun());
Assert.assertEqualsNoOrder(test1.getDependsOnGroups(), new String[] { "dg1", "dg2", "dg3", "dg4" });
Assert.assertEqualsNoOrder(test1.getDependsOnMethods(), new String[] { "dm1", "dm2", "dm3", "dm4" });
Assert.assertEquals(test1.getTimeOut(), 142);
Assert.assertEquals(test1.getInvocationCount(), 143);
Assert.assertEquals(test1.getSuccessPercentage(), 61);
Assert.assertEquals(test1.getDataProvider(), "dp2");
Assert.assertEquals(test1.getDescription(), "Method description");
Class[] exceptions = test1.getExpectedExceptions();
Assert.assertEquals(exceptions.length, 1);
Assert.assertEquals(exceptions[0], NullPointerException.class);
}