# Functions
NewChannelCache returns mock cache instance.
NewChannelRepository creates in-memory channel repository.
NewGroupRepository creates in-memory user repository.
NewRolesRepository returns mock of policies repository.
NewThingCache returns mock cache instance.
NewThingRepository creates in-memory thing repository.
# Structs
Connection represents connection between channel and thing that is used for testing purposes.