  @Test
  public void testCountFromNetwork() {

    TestNetworkQueryController networkController = new TestNetworkQueryController();
    OfflineQueryController controller = new OfflineQueryController(null, networkController);

    ParseQuery.State<ParseObject> state = new ParseQuery.State.Builder<>("TestObject")
        .build();
    controller.countAsync(state, null, null);
    networkController.verifyCount();
  }