@Test public void testMissingStackDetails() { boolean result = underTest.isMatchingStackVersion(image, ACTIVATED_PARCELS); assertTrue(result); }
public boolean isMatchingStackVersion(Image image, Map<String, String> activatedParcels) { String stackVersion = activatedParcels.get(StackType.CDH.name()); return StringUtils.isEmpty(stackVersion) || isStackVersionEquals(image, stackVersion); }
StackVersionMatcher { public boolean isMatchingStackVersion(Image image, Map<String, String> activatedParcels) { String stackVersion = activatedParcels.get(StackType.CDH.name()); return StringUtils.isEmpty(stackVersion) || isStackVersionEquals(image, stackVersion); } }
StackVersionMatcher { public boolean isMatchingStackVersion(Image image, Map<String, String> activatedParcels) { String stackVersion = activatedParcels.get(StackType.CDH.name()); return StringUtils.isEmpty(stackVersion) || isStackVersionEquals(image, stackVersion); }  }
StackVersionMatcher { public boolean isMatchingStackVersion(Image image, Map<String, String> activatedParcels) { String stackVersion = activatedParcels.get(StackType.CDH.name()); return StringUtils.isEmpty(stackVersion) || isStackVersionEquals(image, stackVersion); }  boolean isMatchingStackVersion(Image image, Map<String, String> activatedParcels); }
StackVersionMatcher { public boolean isMatchingStackVersion(Image image, Map<String, String> activatedParcels) { String stackVersion = activatedParcels.get(StackType.CDH.name()); return StringUtils.isEmpty(stackVersion) || isStackVersionEquals(image, stackVersion); }  boolean isMatchingStackVersion(Image image, Map<String, String> activatedParcels);  }