mvrx-mocking / com.airbnb.mvrx.mocking / mockVariants

mockVariants

inline fun <reified T> mockVariants(): List<MockedViewProvider<T>> where T : Fragment, T : MockableMavericksView

Helper for getting all mock variants off of a Fragment. It is an error to call this if the Fragment does not define any mocks.