# Packages
Package mocks contains mocks/spies used within SDK unit tests.
# Functions
DataSetToMap converts the data format for Init into a map of maps.
ExpectFlagChangeEvents asserts that a channel receives flag change events for the specified keys (in any order) and then does not receive any more events for the next 100ms.
FlagDescriptor is a shortcut for creating a StoreItemDescriptor from a flag.
NewDataSetBuilder creates a DataSetBuilder.
NewSimpleTestContext returns a basic implementation of interfaces.ClientContext for use in test code.
NewTestContext returns a basic implementation of interfaces.ClientContext for use in test code.
NewTestLoggers returns a standardized logger instance used by unit tests.
NormalizeDataSet sorts the data set by kind and key for test determinacy.
SegmentDescriptor is a shortcut for creating a StoreItemDescriptor from a segment.
TestLoggingConfig returns a LoggingConfiguration corresponding to NewTestLoggers().
# Structs
DataSetBuilder is a helper for creating collections of flags and segments.