@Test
public void should_rhs_be_evaluated_when_AND_operator_and_lhs_is_true___weak_ref() {

    when(lhs.isGranted(any(), any(), any(), anyString())).thenReturn(true);
    when(rhs.isGranted(any(), any(), any(), anyString())).thenReturn(false);
    GrantEvaluator grantEvaluator = composer.and(lhs, rhs);
    boolean granted = grantEvaluator.isGranted(null, null, 1L, "my_type");
    verify(lhs).isGranted(any(), any(), any(), anyString());
    verify(rhs).isGranted(any(), any(), any(), anyString());
    assertThat(granted).isFalse();
}