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

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

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