Searched refs:expectThrowable (Results 1 – 1 of 1) sorted by relevance
292 expectThrowable(() -> manager.requestNetwork(request, callback), wantException); in noDoubleCallbackRegistration()357 static void expectThrowable(Runnable block, Class<? extends Throwable> throwableType) { in expectThrowable() method in ConnectivityManagerTest