### Question:
BetweennessCentralityWriteProc extends WriteProc<BetweennessCentrality, HugeAtomicDoubleArray, BetweennessCentralityWriteProc.WriteResult, BetweennessCentralityWriteConfig> { @Procedure(value = "gds.betweenness.write", mode = WRITE) @Description(BETWEENNESS_DESCRIPTION) public Stream<WriteResult> write( @Name(value = "graphName") Object graphNameOrConfig, @Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration ) { return write(compute(graphNameOrConfig, configuration)); }  @Procedure(value = "gds.betweenness.write", mode = WRITE) @Description(BETWEENNESS_DESCRIPTION) Stream<WriteResult> write(
        @Name(value = "graphName") Object graphNameOrConfig,
        @Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
    ); @Procedure(value = "gds.betweenness.write.estimate", mode = READ) @Description(BETWEENNESS_DESCRIPTION) Stream<MemoryEstimateResult> estimate(
        @Name(value = "graphName") Object graphNameOrConfig,
        @Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
    );  }### Answer:
@Test void testWrite() { String query = GdsCypher .call() .withAnyLabel() .withAnyRelationshipType() .algo("betweenness") .writeMode() .addParameter("writeProperty", DEFAULT_RESULT_PROPERTY) .yields(); assertCypherResult(query, List.of(Map.of( "minimumScore", 0.0, "maximumScore", 4.0, "scoreSum", 10.0, "nodePropertiesWritten", 5L, "createMillis", greaterThan(-1L), "computeMillis", greaterThan(-1L), "postProcessingMillis", greaterThan(-1L), "writeMillis", greaterThan(-1L), "configuration", isA(Map.class) ))); }