How to test functions with parameters?

Hello,

I have few classes and each of them contains functions with parameters.

Like this:

public void createReport(@DataPoint String jrxmlFieldName1,
String jrxmlParameter1, String jrxmlFieldName2,
String jrxmlParameter2, String jrxmlFieldName3,
String jrxmlParameter3, String type, String driver, String host,
int port, String databaseName, String username, String password) {
init();
reportName = tReport + " " + makeRandomNumber()
+ MakeUniqueString() + makeRandomNumber();
assertEquals(null, reportName);
assertNotNull(reportName);
TerminalVersionsReport report = new tReport();
report.createReport(jrxmlFieldName1, jrxmlParameter1,
jrxmlFieldName2, jrxmlParameter2, jrxmlFieldName3,
jrxmlParameter3, reportName, get(type), driver, host,
port, databaseName, username, password);
setUniqueValue(reportName);
}

I tried @Test but I got message that function must be without parameters.