memoization-core/src/test/java/de/xn__ho_hia/memoization/shared/MemoizationDefaultsTest.java
@Test
    public void shouldDefineHashCodeKeyFunction() {
        // given
        BiFunction<Object, Object, String> keyFunction;

        // when
        keyFunction = MemoizationDefaults.hashCodeKeyFunction();

        // when
        Assert.assertNotNull("Default key function is NULL", keyFunction);
    }
/**
     * Ensures that a hash-code based key function is defined.
     */
Ensures that a hash-code based key function is defined.
Ensures that a hash - code based key function is defined .
@Test
    public void shouldDefineHashCodeKeyFunction() {
        BiFunction<Object, Object, String> keyFunction;
        keyFunction = MemoizationDefaults.hashCodeKeyFunction();
        Assert.assertNotNull("Default key function is NULL", keyFunction);
    }
@ Test public void shouldDefineHashCodeKeyFunction ( ) { BiFunction < Object , Object , String > keyFunction ; keyFunction = MemoizationDefaults . hashCodeKeyFunction ( ) ; Assert . assertNotNull ( "Default key function is NULL" , keyFunction ) ; }
Ensures that a hash-code based key function is defined.
Ensures that a hash - code based key function is defined .
// given // when // when