I am trying to mock a NamedParameterJdbcTemplate for unit testing a DAO. I am using the below line for returning a specific value when the query method is called: