public int size() {
    return mWorkers.size();
  }
@Test
  public void size() {
    WorkerIdentity worker1 = WorkerIdentityTestUtils.ofLegacyId(1);
    WorkerIdentity worker2 = WorkerIdentityTestUtils.ofLegacyId(2);
    List<WorkerInfo> workers = ImmutableList.of(
        new WorkerInfo().setIdentity(worker1),
        new WorkerInfo().setIdentity(worker2)
    );
    WorkerClusterView view = new WorkerClusterView(workers);
    assertEquals(workers.size(), view.size());
    assertFalse(view.isEmpty());
  }