How to test ManagedAppConfigurationProvider without MDM

How to test ManagedAppConfigurationProvider without MDM ?

Task { /* Configuration provider task */
    for await configuration in configurationProvider.configurations(MyAppConfiguration.self) {
        self.configuration = configuration ?? MyAppConfiguration.defaultConfiguration
    } 
}

Can the existence of a configuration be simulated, e.g. by storing a mocked configuration in UserDefaults? The UserDefaults key "com.apple.configuration.managed" seems not relevant here.

How to test ManagedAppConfigurationProvider without MDM
 
 
Q