@NotNull abstract fun testResourcesWithoutLifecycle(@NotNull objectWithResources: Any): Mockspresso.Builder
Scans the included objectWithResources for fields annotated with @Mock and @RealObject, then prepares them and adds them to our dependency map. Mockspresso will not call any methods on objects added via this method.
objectWithResources
- Any: The object to scan and set fields on
Return
Mockspresso.Builder: this