@Test
public void givenCallback$getTags_whenQuery_thenShouldCallNativeApiAndInvokeCallback() {

    // given
    PowerMockito.mockStatic(Instabug.class);
    PowerMockito.mockStatic(Arguments.class);
    Callback callback = mock(Callback.class);
    // when
    ArrayList<String> tags = new ArrayList<>();
    tags.add("tag1");
    tags.add("tag2");
    PowerMockito.when(Instabug.getTags()).thenReturn(tags);
    PowerMockito.when(Arguments.createArray()).thenReturn(new JavaOnlyArray());
    rnModule.getTags(callback);
    // then
    PowerMockito.verifyStatic(VerificationModeFactory.times(1));
    Instabug.getTags();
    WritableArray expectedArray = new JavaOnlyArray();
    expectedArray.pushString("tag1");
    expectedArray.pushString("tag2");
    verify(callback).invoke(expectedArray);
}