class LoadKubernetesManifestsExtension implements HasKubernetesClient, BeforeAllCallback, AfterAllCallback {

  @Override
  public void beforeAll(ExtensionContext context) {
    final LoadKubernetesManifests annotation = context.getRequiredTestClass()
        .getAnnotation(LoadKubernetesManifests.class);
    final KubernetesClient kc = getClient(context);
    for (String resource : annotation.value()) {
      kc.load(context.getRequiredTestClass().getResourceAsStream(resource)).create();
    }
  }

  @Override
  public void afterAll(ExtensionContext context) {<FILL_FUNCTION_BODY>}
}

    final LoadKubernetesManifests annotation = context.getRequiredTestClass()
        .getAnnotation(LoadKubernetesManifests.class);
    if (annotation.deleteAfterTest()) {
      final KubernetesClient kc = getClient(context);
      for (String resource : annotation.value()) {
        kc.load(context.getRequiredTestClass().getResourceAsStream(resource))
            .withGracePeriod(annotation.deleteGracePeriod()).delete();
      }
    }

  
<no_super_class>