### Question:
OauthJdbcRepository extends AbstractJdbcRepository implements OauthRepository { @Override public List<ClientDetails> findClientDetailsListByClientId(String clientId) { String sql = " select * from oauth_client_details where archived = 0 "; if (StringUtils.isNotEmpty(clientId)) { sql += " and client_id = ? order by create_time desc "; return jdbcTemplate.query(sql, clientDetailsRowMapper, clientId); } sql += " order by create_time desc "; return jdbcTemplate.query(sql, clientDetailsRowMapper); }  @Override ClientDetails findClientDetails(String clientId); @Override int saveClientDetails(final ClientDetails clientDetails); @Override int saveOauthCode(final OauthCode oauthCode); @Override OauthCode findOauthCode(String code, String clientId); @Override OauthCode findOauthCodeByUsernameClientId(String username, String clientId); @Override int deleteOauthCode(final OauthCode oauthCode); @Override AccessToken findAccessToken(String clientId, String username, String authenticationId); @Override int deleteAccessToken(final AccessToken accessToken); @Override int saveAccessToken(final AccessToken accessToken); @Override AccessToken findAccessTokenByRefreshToken(String refreshToken, String clientId); @Override List<ClientDetails> findClientDetailsListByClientId(String clientId);  }### Answer:
@Test public void findClientDetailsListByClientId() throws Exception { String clientId = "oaoedd"; final List<ClientDetails> list = oauthJdbcRepository.findClientDetailsListByClientId(clientId); assertTrue(list.isEmpty()); }