Class SnapshotTestBase


  • public class SnapshotTestBase
    extends org.easymock.EasyMockSupport
    A handy base class to simplify the writing of unit tests with easymock.
    Author:
    Daniel Bernstein Date: Feb 12, 2014
    • Field Summary

      • Fields inherited from class org.easymock.EasyMockSupport

        controls
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void beforeClass()  
      protected java.io.File getTempDir()  
      void setup()  
      void tearDown()  
      • Methods inherited from class org.easymock.EasyMockSupport

        createControl, createControl, createMock, createMock, createMock, createMock, createMockBuilder, createNiceControl, createNiceMock, createNiceMock, createStrictControl, createStrictMock, createStrictMock, getMockedClass, injectMocks, mock, mock, mock, mock, niceMock, niceMock, partialMockBuilder, replayAll, resetAll, resetAllToDefault, resetAllToNice, resetAllToStrict, strictMock, strictMock, verifyAll, verifyAllRecordings, verifyAllUnexpectedCalls
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SnapshotTestBase

        public SnapshotTestBase()
    • Method Detail

      • beforeClass

        public static void beforeClass()
      • setup

        public void setup()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • tearDown

        public void tearDown()
      • getTempDir

        protected java.io.File getTempDir()