@Test
public void invalid() throws Throwable {

    Assume.assumeThat(isValid, CoreMatchers.is(false));
    when(pjp.proceed()).thenReturn(expectedValue);
    advice.cacheUpdateAssign(pjp, expectedValue);
    verify(cache, never()).set(anyString(), anyInt(), any(), any(SerializationType.class));
}