Class AuctionSniperTests

  • All Implemented Interfaces:
    junit.framework.Test

    public class AuctionSniperTests
    extends MockObjectTestCase
    • Constructor Detail

      • AuctionSniperTests

        public AuctionSniperTests()
    • Method Detail

      • testTriesToBeatTheLatestHighestBid

        public void testTriesToBeatTheLatestHighestBid()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testWillNotBidPriceGreaterThanMaximum

        public void testWillNotBidPriceGreaterThanMaximum()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testWillLimitBidToMaximum

        public void testWillLimitBidToMaximum()
                                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • testWillNotBidWhenToldAboutBidsOnOtherItems

        public void testWillNotBidWhenToldAboutBidsOnOtherItems()
                                                         throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • testWillAnnounceItHasFinishedIfPriceGoesAboveMaximum

        public void testWillAnnounceItHasFinishedIfPriceGoesAboveMaximum()
      • testCatchesExceptionsAndReportsThemToErrorListener

        public void testCatchesExceptionsAndReportsThemToErrorListener()
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception