@Override
  public void afterTestExecution(ExtensionContext extensionContext) throws Exception {
    Method testMethod = extensionContext.getRequiredTestMethod();
    long start = getStore(extensionContext, this.getClass()).remove(testMethod, long.class);
    long duration = System.currentTimeMillis() - start;

    logger.info(String.format("Completed test [%s] in %sms", testMethod.getName(), duration));
  }
@ Override public void afterTestExecution ( ExtensionContext extensionContext ) throws Exception { Method testMethod = extensionContext . getRequiredTestMethod ( ) ; long start = getStore ( extensionContext , this . getClass ( ) ) . remove ( testMethod , long . class ) ; long duration = System . currentTimeMillis ( ) - start ; logger . info ( String . format ( "Completed test [%s] in %sms" , testMethod . getName ( ) , duration ) ) ; }
Log test method exit, using the start time stored by {@link
#beforeTestExecution(ExtensionContext)} to calculate a duration.

@param extensionContext the <em>context</em> in which the current test or container is being
executed
@throws Exception