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

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

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