@Test(expected = Exception.class)
public void throwException_IfDatabasePortNumberIsEmpty() throws IOException {

    runSqlEntity.setBatch("0");
    runSqlEntity.setComponentId("1");
    runSqlEntity.setComponentName("RunSQLComponent");
    runSqlEntity.setDatabaseConnectionName("Oracle");
    runSqlEntity.setDatabaseName("PRACTICE");
    runSqlEntity.setDbPwd("Bitwise2017");
    runSqlEntity.setPortNumber("");
    runSqlEntity.setQueryCommand("insert into testsp values(1,1,1,1)");
    runSqlEntity.setDbUserName("htcd");
    runSqlEntity.setServerName("DBDEVSRV");
    RunSQLComponent runSQLComponent = new RunSQLComponent(runSqlEntity);
    runSQLComponent.execute();
}