@Test
public void givenArgs$getUserAttribute_whenQuery_thenShouldCallNativeApiAndInvokeCallback() {

    // given
    PowerMockito.mockStatic(Instabug.class);
    Callback callback = mock(Callback.class);
    // when
    String key = "company";
    String value = "Instabug";
    PowerMockito.when(Instabug.getUserAttribute(key)).thenReturn(value);
    rnModule.getUserAttribute(key, callback);
    // then
    PowerMockito.verifyStatic(VerificationModeFactory.times(1));
    Instabug.getUserAttribute(key);
    verify(callback).invoke(value);
}