@Test
public void testIsTopologyResolved_False() throws Exception {

  // Given
  DesiredConfig testHdfsDesiredConfig1 = new DesiredConfig();
  testHdfsDesiredConfig1.setTag("ver1222");
  testHdfsDesiredConfig1.setVersion(1L);
  DesiredConfig testCoreSiteDesiredConfig = new DesiredConfig();
  testCoreSiteDesiredConfig.setTag("ver123");
  testCoreSiteDesiredConfig.setVersion(1L);
  Map<String, Set<DesiredConfig>> testDesiredConfigs = ImmutableMap.<String, Set<DesiredConfig>>builder()
    .put("hdfs-site", ImmutableSet.of(testHdfsDesiredConfig1))
    .put("core-site", ImmutableSet.of(testCoreSiteDesiredConfig))
    .build();
  expect(cluster.getAllDesiredConfigVersions()).andReturn(testDesiredConfigs).atLeastOnce();
  replayAll();
  // When
  boolean topologyResolved = context.isTopologyResolved(CLUSTER_ID);
  // Then
  assertFalse(topologyResolved);
}