private void assertRequestNotCached(PolicyTestRequest request) throws Throwable {
        //Do first request which should not be cached
        Long counterValue = doRequest(request);
        // Now send the request again - we should get the *same* counter value!
        Long counterValue2 = doRequest(request);
        assertNotEquals(counterValue, counterValue2);
    }
Ensures that a request is not cached.
@param request
@throws Throwable
gateway/engine/policies/src/test/java/io/apiman/gateway/engine/policies/CachingResourcesPolicyTest.java