coldbox.system.testing

Class BaseHandlerTest

WEB-INF.cftags.component
        extended by coldbox.system.testing.BaseSpec
            extended by coldbox.system.testing.compat.framework.TestCase
                extended by coldbox.system.testing.BaseTestCase
                    extended by coldbox.system.testing.BaseHandlerTest
Class Attributes:
  • output : false
  •  

    A base test for unit testing event handlers

    Method Summary
    void setup()
         Prepare for testing.
     
    Methods inherited from class coldbox.system.testing.BaseTestCase
    $abort, $dump, $include, $rethrow, $throw, afterAll, afterTests, announceInterception, beforeAll, beforeTests, execute, getAppMapping, getCacheBox, getColdboxAppKey, getColdboxOCM, getConfigMapping, getController, getFlashScope, getInterceptor, getLogBox, getMockConfigBean, getMockController, getMockDatasource, getMockModel, getMockPlugin, getMockRequestBuffer, getMockRequestContext, getModel, getRequestContext, getUtil, getWireBox, metadataInspection, reset, setAppMapping, setColdboxAppKey, setConfigMapping, setupRequest
     
    Methods inherited from class coldbox.system.testing.compat.framework.TestCase
    addAssertDecorator, assert, assertArrayEquals, assertEquals, assertEqualsCase, assertEqualsWithTolerance, assertFalse, assertIsArray, assertIsDefined, assertIsEmpty, assertIsEmptyArray, assertIsEmptyQuery, assertIsEmptyStruct, assertIsExactTypeOf, assertIsQuery, assertIsStruct, assertIsTypeOf, assertIsXMLDoc, assertNotEquals, assertNotSame, assertQueryEquals, assertSame, assertStructEquals, assertTrue, debug, expectException, fail, getMockFactory, init, injectMethod, injectProperty, mock, runTestRemote, setMockingFramework, teardown
     
    Methods inherited from class coldbox.system.testing.BaseSpec
    addAssertions, addMatchers, afterEach, beforeEach, clearDebugBuffer, closureStub, console, createEmptyMock, createMock, createStub, describe, expect, expectedException, getDebugBuffer, getMockBox, hasExpectedException, isExpectedException, it, makePublic, prepareMock, print, println, querySim, runRemote, runSpec, runTestMethod, xdescribe, xit
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Method Detail

    setup

    public void setup()

    Prepare for testing

    Overrides:
    setup in class BaseTestCase