@Test
public void testGenerateNodeIdFromPropsGeneratesRandomWhenFileIsNotPresentAndNoFallback() {

    exception.expect(RuntimeException.class);
    exception.expectMessage("Can't read 'nodeId.properties' and no fallback method has been set");
    GenerateNodeIdStrategy fileNodeIdGeneratorStrategy = new GetNodeIdFromPropsFile("database-test");
    fileNodeIdGeneratorStrategy.getNodePrivateKey();
}