/*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
TestStore *aStore(new TestStore);
Store::Init(aStore);
CPPUNIT_ASSERT_EQUAL(false, aStore->statsCalled);
- Store::Stats(NullStoreEntry::getInstance());
+ StoreEntry entry;
+ Store::Stats(&entry);
CPPUNIT_ASSERT_EQUAL(true, aStore->statsCalled);
Store::FreeMemory();
}