### Question:
OAuthRSJdbcRepository extends AbstractJdbcRepository implements OAuthRSRepository { @Override public ClientDetails findClientDetailsByClientIdAndResourceIds(String clientId, String resourceIds) { final String sql = " select * from oauth_client_details where archived = 0 and client_id = ? and resource_ids = ? "; final List<ClientDetails> list = jdbcTemplate.query(sql, clientDetailsRowMapper, clientId, resourceIds); return list.isEmpty() ? null : list.get(0); }  @Override AccessToken findAccessTokenByTokenId(String tokenId); @Override ClientDetails findClientDetailsByClientIdAndResourceIds(String clientId, String resourceIds);  }### Answer:
@Test public void findClientDetailsByClientIdAndResourceIds() throws Exception { final ClientDetails clientDetails = oauthJdbcRepository.findClientDetailsByClientIdAndResourceIds("clientId", "resourceId"); assertNull(clientDetails); }