memoization-core/src/test/java/de/xn__ho_hia/memoization/shared/MemoizationDefaultsTest.java
@Test
    public void shouldConcatIntBinaryOperatorHashCodesWithWhitespaceInbetween() {
        // given
        final IntBinaryFunction<String> keyFunction = MemoizationDefaults
                .intBinaryOperatorHashCodeKeyFunction();

        // when
        final String calculatedKey = keyFunction.apply(123, 456);

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