use of android.uwb.RangingSession in project robolectric by robolectric.
the class ShadowRangingSessionTest method stop_notifyAdaptor.
@Test
public void stop_notifyAdaptor() {
RangingSession session = (RangingSession) rangingSessionObject;
RangingSession.Callback callback = (RangingSession.Callback) callbackObject;
session.stop();
verify(adapter).onStop(eq(session), eq(callback));
}
use of android.uwb.RangingSession in project robolectric by robolectric.
the class ShadowRangingSessionTest method reconfigure_notifyAdaptor.
@Test
public void reconfigure_notifyAdaptor() {
RangingSession session = (RangingSession) rangingSessionObject;
RangingSession.Callback callback = (RangingSession.Callback) callbackObject;
session.reconfigure(genParams("reconfigure"));
verify(adapter).onReconfigure(eq(session), eq(callback), argThat(checkParams("reconfigure")));
}
Aggregations