LONGBOW_TEST_CASE(Object, athenaLRUContentStore_IsValid) { AthenaLRUContentStore *instance = _athenaLRUContentStore_Create(NULL); assertTrue(athenaLRUContentStore_IsValid(instance), "Expected athenaLRUContentStore_Create to result in a valid instance."); _athenaLRUContentStore_Release((AthenaContentStoreImplementation *) &instance); assertFalse(athenaLRUContentStore_IsValid(instance), "Expected athenaLRUContentStore_Release to result in an invalid instance."); }
void athenaLRUContentStore_AssertValid(const AthenaLRUContentStore *instance) { assertTrue(athenaLRUContentStore_IsValid(instance), "AthenaLRUContentStore is not valid."); }