g it.</p><h2 class="">Example</h2><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">// In your `main` source set<br>interface Repository<br><br>@AutoBind(asTypes = [Repository::class])<br>@AutoBindIntoSet(asTypes = [Closeable::class])<br>@Singleton<br>class RealRepository @Inject constructor() : Repository, Closeable {<br>  override fun close() {}<br>}<br><br>// In your `test` source set<br>// Since `FakeRepository` doesn't implement `Closeable` then it's<br>// not bound as `Cl