Java testclasses, need to test a method in a different class
<p>I need to run a test on a class that I know works, but I have no idea how to do It :/. Here's the code:</p>

<pre><code>import java.util.ArrayList;
import java.util.List;

public class auctionCatalog {
    private List auctionList = new ArrayList();
    private int newID = 1; 

    // This method creates a new auctionobject and adds the object to the auctionlist.

    public void enterAuction(int aID, int method, List delTypeList, int userID, 
            String objInfo, List bidList, boolean verified, boolean ended, boolean delivered){
        Auction a = new Auction(newID, method, delTypeList, userID, objInfo, bidList,          verified, ended, delivered);
        auctionList.add(a);
        newID += 1;

    } 

}
</code></pre>

<p>So I have to create a class that test this, really appreciate help guys! </p>
