public static <KI,VI,KO,VO> org.apache.hadoop.mapreduce.TaskInputOutputContext<KI,VI,KO,VO> getTestContext(org.apache.hadoop.conf.Configuration config)
The method creates a TaskInputOutputContext which can be used
in unit tests. The context serves very limited purpose. You can only
operate with counters, taskAttempId, status and configuration while using
this context.