Testing Reducer

This lesson demonstrates how to write a unit test case for a reducer.

We'll cover the following...

Testing Reducer

We can write a unit test case for our reducer class CarReducer like how we wrote a unit test case for our mapper class. The code below is self-explanatory. The input ...