### Question:
WccWriteProc extends WriteProc<Wcc, DisjointSetStruct, WccWriteProc.WriteResult, WccWriteConfig> { @Procedure(value = "gds.wcc.write", mode = WRITE) @Description(WCC_DESCRIPTION) public Stream<WccWriteProc.WriteResult> write( @Name(value = "graphName") Object graphNameOrConfig, @Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration ) { ComputationResult<Wcc, DisjointSetStruct, WccWriteConfig> computationResult = compute( graphNameOrConfig, configuration ); return write(computationResult); }  @Procedure(value = "gds.wcc.write", mode = WRITE) @Description(WCC_DESCRIPTION) Stream<WccWriteProc.WriteResult> write(
        @Name(value = "graphName") Object graphNameOrConfig,
        @Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
    ); @Procedure(value = "gds.wcc.write.estimate", mode = READ) @Description(ESTIMATE_DESCRIPTION) Stream<MemoryEstimateResult> writeEstimate(
        @Name(value = "graphName") Object graphNameOrConfig,
        @Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
    );  }### Answer:
@Test void testWrite() { String query = GdsCypher .call() .withAnyLabel() .withAnyRelationshipType() .algo("wcc") .writeMode() .addParameter("writeProperty", WRITE_PROPERTY) .yields("componentCount"); runQueryWithRowConsumer(query, row -> { assertEquals(3L, row.getNumber("componentCount")); }); }