File tree 2 files changed +3
-5
lines changed
main/java/software/amazon/lambda/powertools/utilities/cache
test/java/software/amazon/lambda/powertools/utilities/cache
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11
11
* limitations under the License.
12
12
*
13
13
*/
14
- package software .amazon .lambda .powertools .idempotency . persistence .cache ;
14
+ package software .amazon .lambda .powertools .utilities .cache ;
15
15
16
16
import java .util .LinkedHashMap ;
17
17
import java .util .Map ;
Original file line number Diff line number Diff line change 11
11
* limitations under the License.
12
12
*
13
13
*/
14
- package software .amazon .lambda .powertools .idempotency . persistence .cache ;
14
+ package software .amazon .lambda .powertools .utilities .cache ;
15
15
16
16
import org .junit .jupiter .api .Test ;
17
17
@@ -28,8 +28,6 @@ public void testLRUCache_shouldRemoveEldestEntry() {
28
28
cache .put ("key4" , "value4" );
29
29
cache .put ("key5" , "value5" );
30
30
31
- assertThat (cache ).hasSize (3 );
32
- assertThat (cache .get ("key1" )).isNull ();
33
- assertThat (cache .get ("key2" )).isNull ();
31
+ assertThat (cache ).hasSize (3 ).doesNotContainKeys ("key1" , "key2" );
34
32
}
35
33
}
You can’t perform that action at this time.
0 commit comments