mvrx-mocking / com.airbnb.mvrx.mocking.printer / MockPrinterConfiguration / mockPackage

mockPackage

val mockPackage: (mockedView: Any) -> String

Given a MavericksView that we are generating mock states for, returns which package name to use for the generated file.

By default mock states are place in a "mocks" subpackage within the package of the view it is mocking.