|
@@ -204,15 +204,6 @@ public class LayoutFactoryTest extends BaseTest {
|
204
|
204
|
assertThat(result.getChildAt(0)).isEqualTo(mockView);
|
205
|
205
|
}
|
206
|
206
|
|
207
|
|
- @Test(expected = IllegalArgumentException.class)
|
208
|
|
- @Ignore
|
209
|
|
- public void throwsExceptionForUnknownType() throws Exception {
|
210
|
|
- when(reactRootViewCreator.create(any(Activity.class), eq(NODE_ID), eq(REACT_ROOT_VIEW_KEY))).thenReturn(mockView);
|
211
|
|
- final LayoutNode node = new LayoutNode(NODE_ID, null, new JSONObject(), Collections.<LayoutNode>emptyList());
|
212
|
|
-
|
213
|
|
- createLayoutFactory().create(node);
|
214
|
|
- }
|
215
|
|
-
|
216
|
207
|
private LayoutFactory createLayoutFactory() {
|
217
|
208
|
return new LayoutFactory(activity, reactRootViewCreator);
|
218
|
209
|
}
|