@Test
public void testGetViewInfo() throws Exception {

  PowerMockito.mockStatic(ZooKeeperMap.class);
  ViewInfo viewInfo = new ViewInfo();
  String resource1 = "test_view";
  MemberModifier.field(ZooKeeperManager.class, "viewInfoMap")
      .set(zkManager, ImmutableMap.of(resource1, viewInfo));
  assertNotNull(zkManager.getViewInfo(resource1));
  assertNull(zkManager.getViewInfo("non_existing"));
}