KMP PHP API Reference

GatheringActivityServiceTest extends BaseTestCase
in package

Waivers\Services\GatheringActivityService Test Case

Tests the GatheringActivityService for managing waiver requirements on gathering activities: add, remove, and get operations.

Tags
uses
GatheringActivityService

Table of Contents

Properties

$GatheringActivities  : GatheringActivitiesTable
GatheringActivities table
$GatheringActivityWaivers  : GatheringActivityWaiversTable
GatheringActivityWaivers table
$service  : GatheringActivityService
Service under test
$WaiverTypes  : WaiverTypesTable
WaiverTypes table

Methods

testAddGetRemoveCycle()  : void
Test full add-get-remove cycle
testAddWaiverRequirementDuplicateFails()  : void
Test adding a duplicate waiver requirement fails
testAddWaiverRequirementInvalidActivityFails()  : void
Test adding waiver requirement with non-existent activity fails
testAddWaiverRequirementInvalidWaiverTypeFails()  : void
Test adding waiver requirement with non-existent waiver type fails
testAddWaiverRequirementSuccess()  : void
Test adding a new waiver requirement to an activity succeeds
testGetRequiredWaiverTypesEmptyResult()  : void
Test getting required waiver types for an activity with no requirements
testGetRequiredWaiverTypesForNonExistentActivity()  : void
Test getting required waiver types for a non-existent activity returns empty
testGetRequiredWaiverTypesReturnsData()  : void
Test getting required waiver types for an activity with requirements
testRemoveWaiverRequirementNotFoundFails()  : void
Test removing a non-existent waiver requirement fails
testRemoveWaiverRequirementSuccess()  : void
Test removing an existing waiver requirement succeeds
setUp()  : void
setUp method
tearDown()  : void
tearDown method

Properties

Methods

testAddWaiverRequirementDuplicateFails()

Test adding a duplicate waiver requirement fails

public testAddWaiverRequirementDuplicateFails() : void

testAddWaiverRequirementInvalidActivityFails()

Test adding waiver requirement with non-existent activity fails

public testAddWaiverRequirementInvalidActivityFails() : void

testAddWaiverRequirementInvalidWaiverTypeFails()

Test adding waiver requirement with non-existent waiver type fails

public testAddWaiverRequirementInvalidWaiverTypeFails() : void

testAddWaiverRequirementSuccess()

Test adding a new waiver requirement to an activity succeeds

public testAddWaiverRequirementSuccess() : void

testGetRequiredWaiverTypesEmptyResult()

Test getting required waiver types for an activity with no requirements

public testGetRequiredWaiverTypesEmptyResult() : void

testGetRequiredWaiverTypesForNonExistentActivity()

Test getting required waiver types for a non-existent activity returns empty

public testGetRequiredWaiverTypesForNonExistentActivity() : void

testGetRequiredWaiverTypesReturnsData()

Test getting required waiver types for an activity with requirements

public testGetRequiredWaiverTypesReturnsData() : void

testRemoveWaiverRequirementNotFoundFails()

Test removing a non-existent waiver requirement fails

public testRemoveWaiverRequirementNotFoundFails() : void

testRemoveWaiverRequirementSuccess()

Test removing an existing waiver requirement succeeds

public testRemoveWaiverRequirementSuccess() : void

        
On this page

Search results