Ejemplo n.º 1
0
 @Test
 public void testSomeMethod() {
   System.out.println("\n");
   BidEvent instance = new BidEvent("Marko", 2, 44, BidEvent.BidEventType.BID_OVERBID);
   System.out.println("test BidEvent Construktor ");
   System.out.println("Event:getID:" + instance.getID());
   System.out.println("Event:getType:" + instance.getType());
   System.out.println("Event:getTimeStamp:" + instance.getTimeStamp());
   //  System.out.println("BidEvent:getAuctionID:"+instance.);
 }
Ejemplo n.º 2
0
 @Test
 public void testCopy() {
   System.out.println("\n");
   System.out.println("test BidEvent CopyConstruktor");
   BidEvent tocopy = new BidEvent("Alice", 0, 300.34, BidEvent.BidEventType.BID_WON);
   BidEvent instance = new BidEvent(tocopy);
   System.out.println("Event:getID:" + instance.getID());
   System.out.println("Event:getType:" + instance.getType());
   System.out.println("Event:getTimeStamp:" + instance.getTimeStamp());
   System.out.println("Bidevent:getUserName:"******"Bidevent:getPrice:" + instance.getPrice());
 }