memoization-core/src/test/java/de/xn__ho_hia/memoization/shared/MemoizationDefaultsTest.java
@Test
    public void shouldConcatObjDoubleConsumerHashCodesWithWhitespaceInbetween() {
        // given
        final ObjDoubleFunction<Object, String> keyFunction = MemoizationDefaults
                .objDoubleConsumerHashCodeKeyFunction();

        // when
        final String calculatedKey = keyFunction.apply(Integer.valueOf(1), 123.456D);

        // when
        Assert.assertEquals("Calculated key does not match expectations", "1 1522623320", calculatedKey); //$NON-NLS-1$
    }
/**
     * Ensures that the default key function for ObjDoubleConsumer concats the hash-codes of its two inputs by placing a
     * whitespace inbetween.
     */
Ensures that the default key function for ObjDoubleConsumer concats the hash-codes of its two inputs by placing a
whitespace inbetween.
Ensures that the default key function for ObjDoubleConsumer concats the hash - codes of its two inputs by placing a whitespace inbetween .
@Test
    public void shouldConcatObjDoubleConsumerHashCodesWithWhitespaceInbetween() {
        final ObjDoubleFunction<Object, String> keyFunction = MemoizationDefaults
                .objDoubleConsumerHashCodeKeyFunction();
        final String calculatedKey = keyFunction.apply(Integer.valueOf(1), 123.456D);
        Assert.assertEquals("Calculated key does not match expectations", "1 1522623320", calculatedKey); 
    }
@ Test public void shouldConcatObjDoubleConsumerHashCodesWithWhitespaceInbetween ( ) { final ObjDoubleFunction < Object , String > keyFunction = MemoizationDefaults . objDoubleConsumerHashCodeKeyFunction ( ) ; final String calculatedKey = keyFunction . apply ( Integer . valueOf ( 1 ) , 123.456D ) ; Assert . assertEquals ( "Calculated key does not match expectations" , "1 1522623320" , calculatedKey ) ; }
Ensures that the default key function for ObjDoubleConsumer concats the hash-codes of its two inputs by placing a
 whitespace inbetween.
Ensures that the default key function for ObjDoubleConsumer concats the hash - codes of its two inputs by placing a whitespace inbetween .
// given // when // when //$NON-NLS-1$