@Override
  public ScannerEngineMetadata getScannerEngineMetadata() {
    if (scannerEngineMetadata == null) {
      File scannerEngine = getScannerEngine();
      scannerEngineMetadata = new ScannerEngineMetadata(scannerEngine.getName(), getSha256(scannerEngine));
    }
    return scannerEngineMetadata;
  }
@Test
  void getScannerEngineMetadata() throws IOException {
    createFile(scannerDir.resolve("scanner.jar"));
    ScannerEngineMetadata expected = new ScannerEngineMetadata("scanner.jar", "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855");

    ScannerEngineMetadata result = scannerEngineHandler.getScannerEngineMetadata();

    assertThat(result).usingRecursiveComparison().isEqualTo(expected);
  }