I think about making sealed class, something like ...
# announcements
a
I think about making sealed class, something like that:
Copy code
internal sealed class Provider
internal class ProviderIml
private class TestableProvider
…
@TestOnly
internal fun getTestableProvider() = TestableProvider()
this approach looks massive a bit but I can strictly control the hierarchy and it won’t be changed 🙂