### Question:
ProxyNetworkFactory extends NetworkFactory { public void dump(@NonNull final IndentingPrintWriter ipw) { ipw.printPair("Network factory filter score", mNetworkScoreFilter); ipw.printPair("capabilities", mCapabilities); ipw.println(); } protected  ProxyNetworkFactory(
            @NonNull final Context context,
            @NonNull final NetworkCapabilities capabilities); void dump(@NonNull final IndentingPrintWriter ipw);  }### Answer:
@Test public void testDump() { mProxyNetworkFactory.dump(mockIndentingPrintWriter); verify(mockIndentingPrintWriter).printPair(anyString(), anyInt()); }