From c743113a68eb6bbdc0abb966c212a58894afc0e9 Mon Sep 17 00:00:00 2001 From: Robert Baillie Date: Thu, 10 Mar 2022 15:53:20 +0000 Subject: [PATCH] Fixed compile error --- .../classes/fflib-extension/caching/tests/SessionCacheTest.cls | 1 + 1 file changed, 1 insertion(+) 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' );