memoization-core/src/test/java/de/xn__ho_hia/memoization/shared/MemoizationDefaultsTest.java
@Test
    public void shouldDefineDefaultKey() {
        // given
        final Supplier<String> keySupplier = MemoizationDefaults.defaultKeySupplier();

        // when
        final String defaultSuppliedKey = keySupplier.get();

        // then
        Assert.assertNotNull("Default supplied key is NULL", defaultSuppliedKey);
        Assert.assertEquals("Default supplied key does not match expectations", "SUPPLIED", defaultSuppliedKey); //$NON-NLS-1$
    }
/**
     * Ensures that a default key provided by the default {@link Supplier} is defined.
     */
Ensures that a default key provided by the default  Supplier is defined.
Ensures that a default key provided by the default Supplier is defined .
@Test
    public void shouldDefineDefaultKey() {
        final Supplier<String> keySupplier = MemoizationDefaults.defaultKeySupplier();
        final String defaultSuppliedKey = keySupplier.get();
        Assert.assertNotNull("Default supplied key is NULL", defaultSuppliedKey);
        Assert.assertEquals("Default supplied key does not match expectations", "SUPPLIED", defaultSuppliedKey); 
    }
@ Test public void shouldDefineDefaultKey ( ) { final Supplier < String > keySupplier = MemoizationDefaults . defaultKeySupplier ( ) ; final String defaultSuppliedKey = keySupplier . get ( ) ; Assert . assertNotNull ( "Default supplied key is NULL" , defaultSuppliedKey ) ; Assert . assertEquals ( "Default supplied key does not match expectations" , "SUPPLIED" , defaultSuppliedKey ) ; }
Ensures that a default key provided by the default {@link Supplier} is defined.
Ensures that a default key provided by the default { @link Supplier } is defined .
// given // when // then //$NON-NLS-1$