Is there a way to test a method that doesn't return any value without the use of Mockito?
This is the sample method. I'm new in Unit Testing.

```
public void addMantisData(ArrayList<Mantis> list) {

    try {
        connection = dataSource.getConnection();

        PreparedStatement preparedStatement = connection
                .prepareStatement("INSERT INTO mantises (ticketId, startDate, endDate, hours, minutes, " +
                        "employeeId, timeIn, timeOut, dateSubmitted, category, status, timestamp) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())");

        for (Mantis mantis : list) {
            preparedStatement.setInt(1, mantis.getTicketId());
            preparedStatement.setString(2, mantis.getStartDate());
            preparedStatement.setString(3, mantis.getEndDate());
            preparedStatement.setInt(4, mantis.getHours());
            preparedStatement.setInt(5, mantis.getMinutes());
            preparedStatement.setInt(6, mantis.getEmployeeId());
            preparedStatement.setString(7, mantis.getStartTime());
            preparedStatement.setString(8, mantis.getEndTime());
            preparedStatement.setString(9, mantis.getDateSubmitted());
            preparedStatement.setString(10, mantis.getCategory());
            preparedStatement.setString(11, mantis.getStatus());
            preparedStatement.addBatch();
        }

        preparedStatement.executeBatch();
        preparedStatement.close();

    } catch (SQLException e) {

    } finally {
        if (connection != null) {
            try {
                connection.close();
            } catch (SQLException e) {

            }
        }
    }
}

```

I apprieciate the help :)