@Test
public void testIsAuthorizedWithFailure() {

  Set<String> scopes = ImmutableSet.of("scope0", "scope1", "scope2", "scope3");
  AbstractAuthScopeExpression expression1 = mock(AbstractAuthScopeExpression.class);
  AbstractAuthScopeExpression expression2 = mock(AbstractAuthScopeExpression.class);
  AbstractAuthScopeExpression expression3 = mock(AbstractAuthScopeExpression.class);
  DisjunctAuthScopeExpression expression =
      new DisjunctAuthScopeExpression(
          ImmutableList.<AbstractAuthScopeExpression>of(expression1, expression2, expression3));
  assertFalse(expression.isAuthorized(scopes));
}