File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ReactAndroid/src/test/java/com/facebook/react/animated Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,14 @@ public void setUp() {
6262 PowerMockito .doAnswer (new Answer <Void >() {
6363 @ Override
6464 public Void answer (InvocationOnMock invocation ) throws Throwable {
65- mUIBlocks .add (invocation .getArgumentAt ( 0 , UIBlock . class ));
65+ mUIBlocks .add (( UIBlock ) invocation .getArgument ( 0 ));
6666 return null ;
6767 }
6868 }).when (mUIManager ).addUIBlock (any (UIBlock .class ));
6969 PowerMockito .doAnswer (new Answer <Void >() {
7070 @ Override
7171 public Void answer (InvocationOnMock invocation ) throws Throwable {
72- mUIBlocks .add (0 , invocation .getArgumentAt ( 0 , UIBlock . class ));
72+ mUIBlocks .add (0 , ( UIBlock ) invocation .getArgument ( 0 ));
7373 return null ;
7474 }
7575 }).when (mUIManager ).prependUIBlock (any (UIBlock .class ));
You can’t perform that action at this time.
0 commit comments