public CacheEventAssert hasResourceId(String expected) {
    Assertions.assertThat(actual.getResourceId())
        .overridingErrorMessage(
            "Cache event mismatch - resource ID:%s does not match:%s",
            actual.getResourceId(), expected)
        .isEqualTo(expected);
    return this;
  }
Assertion methods for {@link CacheEvent}s.

<p>To create an instance of this class, invoke <code>
{@link CacheEventAssert#assertThat(CacheEvent)}</code>.
imagepipeline-base/src/test/java/com/facebook/cache/common/CacheEventAssert.java