use of jadx.core.xmlgen.BinaryXMLParser in project jadx by skylot.
the class JadxDecompilerTestUtils method getMockDecompiler.
public static JadxDecompiler getMockDecompiler() {
JadxDecompiler decompiler = mock(JadxDecompiler.class);
RootNode rootNode = new RootNode(new JadxArgs());
when(decompiler.getRoot()).thenReturn(rootNode);
when(decompiler.getBinaryXmlParser()).thenReturn(new BinaryXMLParser(rootNode));
return decompiler;
}
Aggregations