Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Strategy interface for getGeneratedNodePrivateKey() #972

Closed
@lucassaldanha

Description

@lucassaldanha

There is a TODO on the test testGeneratedNodePrivateKeyThroughECKey on the class SystemPropertiesTest to create a strategy interface for getGeneratedNodePrivateKey().

/**
 * TODO: Consider using a strategy interface for #getGeneratedNodePrivateKey().
 * Anything 'File' and 'random' generation are difficult to test and assert
 */
@Test
public void testGeneratedNodePrivateKeyThroughECKey() throws Exception {
    ...
}

I'd love to get someone to review my PR and come with suggestions for improvements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions