diff --git a/framework/default/ortoo-core/default/classes/fflib-extension/caching/tests/SessionCacheTest.cls b/framework/default/ortoo-core/default/classes/fflib-extension/caching/tests/SessionCacheTest.cls index 92d2f517f15..fb1b1c56b9c 100644 --- a/framework/default/ortoo-core/default/classes/fflib-extension/caching/tests/SessionCacheTest.cls +++ b/framework/default/ortoo-core/default/classes/fflib-extension/caching/tests/SessionCacheTest.cls @@ -99,6 +99,7 @@ private without sharing class SessionCacheTest @isTest private static void remove_whenCalledForAKeyThatWasNotPut_doesNotError() // NOPMD: Test method name format { + SessionCache cache = new SessionCache(); cache.remove( 'keythatneverexisted' ); System.assertEquals( false, new SessionCache().contains( 'keythatneverexisted' ), 'remove, when called for a key that was put, will remove it - checking contains' );