Package dagger.hilt.android.testing
Annotation Interface BindValue
An annotation that can be used on a test field to contribute the value into the
SingletonComponent
. Example usage:
public class FooTest{
...
@BindValue Bar boundBar = new Bar();
...
}
Here boundBar
will be accessible to the entire application for your test.