@Test
public void givenCallback$hasChats_whenQuery_thenShouldCallNativeApiAndInvokeCallback() {

    // given
    PowerMockito.mockStatic(Replies.class);
    // when
    Callback callback = mock(Callback.class);
    rnModule.hasChats(callback);
    // then
    PowerMockito.verifyStatic(VerificationModeFactory.times(1));
    Replies.hasChats();
    verify(callback).invoke(any());
}