createTestLithoView

fun createTestLithoView(lithoView: LithoView? = null, componentTree: ComponentTree? = null, widthPx: Int? = null, heightPx: Int? = null, widthSpec: Int = DEFAULT_WIDTH_SPEC, heightSpec: Int = DEFAULT_HEIGHT_SPEC, componentFunction: ComponentScope.() -> Component?? = null): TestLithoView

Creates new TestLithoView holder responsible for keeping an instance of LithoView, allowing to find Views/Components or perform assertions on it. For simple Component rendering without fine-grained control, use render