### Question:
OauthJdbcRepository extends AbstractJdbcRepository implements OauthRepository { @Override public AccessToken findAccessToken(String clientId, String username, String authenticationId) { final String sql = " select * from oauth_access_token where client_id = ? and username = ? and authentication_id = ?"; final List<AccessToken> list = jdbcTemplate.query(sql, accessTokenRowMapper, clientId, username, authenticationId); return list.isEmpty() ? null : list.get(0); }  @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 findAccessToken() { final AccessToken accessToken = oauthJdbcRepository.findAccessToken("client_id", "username", "authid"); assertNull(accessToken); }