Class AuctionSniperTests

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
All Implemented Interfaces:
junit.framework.Test

public class AuctionSniperTests extends MockObjectTestCase
  • Field Details

  • Constructor Details

    • AuctionSniperTests

      public AuctionSniperTests()
  • Method Details

    • testTriesToBeatTheLatestHighestBid

      public void testTriesToBeatTheLatestHighestBid() throws Exception
      Throws:
      Exception
    • testWillNotBidPriceGreaterThanMaximum

      public void testWillNotBidPriceGreaterThanMaximum() throws Exception
      Throws:
      Exception
    • testWillLimitBidToMaximum

      public void testWillLimitBidToMaximum() throws Throwable
      Throws:
      Throwable
    • testWillNotBidWhenToldAboutBidsOnOtherItems

      public void testWillNotBidWhenToldAboutBidsOnOtherItems() throws Throwable
      Throws:
      Throwable
    • testWillAnnounceItHasFinishedIfPriceGoesAboveMaximum

      public void testWillAnnounceItHasFinishedIfPriceGoesAboveMaximum()
    • testCatchesExceptionsAndReportsThemToErrorListener

      public void testCatchesExceptionsAndReportsThemToErrorListener() throws Exception
      Throws:
      Exception