@Test public void checkNotProvidedAttributeReturnsEmptyList() { List<JPAClaimsPair<?>> claims = cut.get("Test"); assertNotNull(claims); assertEquals(0, claims.size()); }
@Override public List<JPAClaimsPair<?>> get(final String attributeName) { if (!claims.containsKey(attributeName)) return Collections.emptyList(); return claims.get(attributeName); }
JPAODataClaimsProvider implements JPAODataClaimProvider { @Override public List<JPAClaimsPair<?>> get(final String attributeName) { if (!claims.containsKey(attributeName)) return Collections.emptyList(); return claims.get(attributeName); } }
JPAODataClaimsProvider implements JPAODataClaimProvider { @Override public List<JPAClaimsPair<?>> get(final String attributeName) { if (!claims.containsKey(attributeName)) return Collections.emptyList(); return claims.get(attributeName); }  }
JPAODataClaimsProvider implements JPAODataClaimProvider { @Override public List<JPAClaimsPair<?>> get(final String attributeName) { if (!claims.containsKey(attributeName)) return Collections.emptyList(); return claims.get(attributeName); }  void add(final String attributeName, final JPAClaimsPair<?> claimsPair); @Override List<JPAClaimsPair<?>> get(final String attributeName); @Override String toString(); }
JPAODataClaimsProvider implements JPAODataClaimProvider { @Override public List<JPAClaimsPair<?>> get(final String attributeName) { if (!claims.containsKey(attributeName)) return Collections.emptyList(); return claims.get(attributeName); }  void add(final String attributeName, final JPAClaimsPair<?> claimsPair); @Override List<JPAClaimsPair<?>> get(final String attributeName); @Override String toString();  }