NZTA\OktaAPI\Tests\SyncOktaGroupsJobTest
Synopsis
class SyncOktaGroupsJobTest
extends SapphireTest
{
- // members
- protected boolean $usesDatabase = true;
- private OktaService|null $OktaService = NULL;
- private MockOktaApiService $mockOktaApiService;
- // methods
- public void setUpOnce()
- public void setUp()
- public void testSaveGroup()
- public void testCheckMatchesFilter()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
private
- $OktaService
—
NZTA\OktaAPI\Tests\OktaService|null
Global reference to an instance of the {@link OktaService} which we will setup to use a mocked Gateway for each test. - $mockOktaApiService — NZTA\OktaAPI\Tests\MockOktaApiService
protected
- $usesDatabase — boolean
Methods
public
- setUp() — Setting up the mocked Gateway for our OktaService
- setUpOnce()
- testCheckMatchesFilter()
- testSaveGroup()