Refactor and mock Redis
- Update signature of method
getBatchRecords
inDBSourceLayer
and its implementations to receive anObject
array instead of aString
array. - Refactor
PhyRedisEval
to separate domain logic and DB calls (which are now being handled byRedisSourceLayer
). - Mock
RedisSourceLayer
inPhyRedisEvalTest
usingMockito
.