archinamon
03/26/2017, 10:22 PMinternal 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 🙂