Exemplo n.º 1
0
 @Test
 public void testSomeMethod() {
   System.out.println("\n");
   AuctionEvent instance = new AuctionEvent(AuctionEvent.AuctionType.AUCTION_STARTED, 1);
   System.out.println("test AuctionEvent Construktor ");
   System.out.println("getID:" + instance.getID());
   System.out.println("getType:" + instance.getType());
   System.out.println("getAuctionID:" + instance.getAuctionID());
   System.out.println("getTimeStamp:" + instance.getTimeStamp());
 }
Exemplo n.º 2
0
 @Test
 public void testCopy() {
   System.out.println("\n");
   System.out.println("test AuctionEvent CopyConstruktor");
   AuctionEvent tocopy = new AuctionEvent(AuctionEvent.AuctionType.AUCTION_ENDED, 3);
   AuctionEvent instance = new AuctionEvent(tocopy);
   System.out.println("test AuctionEvent CopyConstruktor ");
   System.out.println("getID:" + instance.getID());
   System.out.println("getType:" + instance.getType());
   System.out.println("getAuctionID:" + instance.getAuctionID());
   System.out.println("getTimeStamp:" + instance.getTimeStamp());
 }