diff --git a/plugins/testng/src/fileTemplates/code/TestNG SetUp Method.java.ft b/plugins/testng/src/fileTemplates/code/TestNG SetUp Method.java.ft index 895b53879932..afd562b276c3 100644 --- a/plugins/testng/src/fileTemplates/code/TestNG SetUp Method.java.ft +++ b/plugins/testng/src/fileTemplates/code/TestNG SetUp Method.java.ft @@ -1,4 +1,4 @@ @org.testng.annotations.BeforeMethod -public void setUp() throws Exception { +public void setUp() { ${BODY} } \ No newline at end of file diff --git a/plugins/testng/src/fileTemplates/code/TestNG TearDown Method.java.ft b/plugins/testng/src/fileTemplates/code/TestNG TearDown Method.java.ft index e97d85c5e27b..31923da03945 100644 --- a/plugins/testng/src/fileTemplates/code/TestNG TearDown Method.java.ft +++ b/plugins/testng/src/fileTemplates/code/TestNG TearDown Method.java.ft @@ -1,4 +1,4 @@ @org.testng.annotations.AfterMethod -public void tearDown() throws Exception { +public void tearDown() { ${BODY} } \ No newline at end of file diff --git a/plugins/testng/src/fileTemplates/code/TestNG Test Method.java.ft b/plugins/testng/src/fileTemplates/code/TestNG Test Method.java.ft index 3129d9669e22..fe64bd0743f5 100644 --- a/plugins/testng/src/fileTemplates/code/TestNG Test Method.java.ft +++ b/plugins/testng/src/fileTemplates/code/TestNG Test Method.java.ft @@ -1,4 +1,4 @@ @org.testng.annotations.Test -public void test${NAME}() throws Exception { +public void test${NAME}() { ${BODY} } \ No newline at end of file