# Functions

AssertNotNil forces a panic if the specified value is nil (either a nil interface value, or a nil pointer).
DataSourceThatIsAlwaysInitialized returns a test component factory that produces a data source that immediately reports success on startup, although it does not provide any data.
DataSourceThatNeverInitializes returns a test component factory that produces a data source that immediately starts up in a failed state and does not provide any data.
ExpectBigSegmentStoreStatus waits for a status value to appear in a channel and also verifies that it matches the status currently being reported by the status provider.
MakeMockDataSet constructs a data set to be passed to a data store's Init method.
MakeSerializedMockDataSet constructs a data set to be passed to a persistent data store's Init method.
NewCapturingDataStore creates an instance of CapturingDataStore.
NewMockDatabaseInstance creates an instance of MockDatabaseInstance.
NewMockDataSourceUpdates creates an instance of MockDataSourceUpdates.
NewMockPersistentDataStore creates a test implementation of a persistent data store.
NewMockPersistentDataStoreWithPrefix creates a test implementation of a persistent data store that uses a MockDatabaseInstance to simulate a shared database.
NewPollingRequester constructs a Requester.

# Variables

MockData is an instance of ld.StoreDataKind corresponding to MockDataItem.
MockOtherData is an instance of ld.StoreDataKind corresponding to another flavor of MockDataItem.

# Structs

CapturingDataStore is a DataStore implementation that records update operations for testing.
CapturingEventProcessor is a test implementation of EventProcessor that accumulates all events.
ComponentConfigurerThatCapturesClientContext is a test decorator for a ComponentConfigurer that allows tests to see the ClientContext that was passed to it.
ComponentConfigurerThatReturnsError is a test implementation of ComponentConfigurer that always returns an error.
DataSourceFactoryWithData is a test implementation of ComponentConfigurer that will cause the data source to provide a specific set of data when it starts.
MockBigSegmentStore is a minimal mock implementation of BigSegmentStore.
MockDatabaseInstance can be used with MockPersistentDataStore to simulate multiple data store instances sharing the same underlying data space.
MockDataItem is a test replacement for FeatureFlag/Segment.
MockDataSourceUpdates is a mock implementation of DataSourceUpdates for testing data sources.
MockPersistentDataStore is a test implementation of PersistentDataStore.
RequestAllResponse is used to inject custom responses into the Requester, which will subsequently return them to the object under test.
Requester is a mock used in polling_data_source_test.go, to satisfy the datasource.Requester interface (used by PollingProcessor).
SingleComponentConfigurer is a test implementation of ComponentConfigurer that always returns the same pre-existing instance.
UpsertParams holds the parameters of an Upsert operation captured by CapturingDataStore.