# Functions
AssertErrorContains checks that the error contains a given sub-error.
AssertWrappedErrorEqual checks that the innermost error equals the given expected error.
ContainsString checks if an array contains a string.
CreateTempFile creates a temporary file for tests with data as content.
KillContainer stops and removes specified container.
PaginatedSegmentsEqual verifies that two paginated segment lists are equal.
PullImage pulls an image from docker hub if image is not available or not up to date.
RandomKey returns a random byte array (with max 64 bytes).
RandomValue returns a random byte array (with max 1024 bytes).
RequestJSON does a request expecting a JSON response.
RunContainer reproduces docker run command.
RunContainerWithEnv reproduces docker run command.