### Question:
DefaultServiceEnricher extends BaseEnricher { @Override public void create(PlatformMode platformMode, KubernetesListBuilder builder) { final Service defaultService = getDefaultService(); if (hasServices(builder)) { mergeInDefaultServiceParameters(builder, defaultService); } else { addDefaultService(builder, defaultService); } addServices(builder); } DefaultServiceEnricher(MavenEnricherContext buildContext); @Override void create(PlatformMode platformMode, KubernetesListBuilder builder);  }### Answer:
@Test public void headlessServiceNegative() throws Exception { setupExpectations(false, "headless", "false"); DefaultServiceEnricher serviceEnricher = new DefaultServiceEnricher(context); KubernetesListBuilder builder = new KubernetesListBuilder(); serviceEnricher.create(PlatformMode.kubernetes, builder); KubernetesList list = builder.build(); assertEquals(list.getItems().size(),0); }