@@ -0,0 +1,1998 @@
+package es.tid.cosmos.mobility.labelling.bts;%0A%0Aimport static java.util.Arrays.asList;%0A%0Aimport com.twitter.elephantbird.mapreduce.io.ProtobufWritable;%0Aimport org.apache.hadoop.io.NullWritable;%0Aimport org.apache.hadoop.mrunit.mapreduce.ReduceDriver;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport es.tid.cosmos.mobility.data.BtsCounterUtil;%0Aimport es.tid.cosmos.mobility.data.MobDataUtil;%0Aimport es.tid.cosmos.mobility.data.MobProtocol.BtsCounter;%0Aimport es.tid.cosmos.mobility.data.MobProtocol.MobData;%0Aimport es.tid.cosmos.mobility.data.MobProtocol.NodeBts;%0Aimport es.tid.cosmos.mobility.data.NodeBtsUtil;%0Aimport es.tid.cosmos.mobility.data.TwoIntUtil;%0A%0A/**%0A *%0A * @author dmicol%0A */%0Apublic class VectorSumComsBtsReducerTest %7B%0A    private ReduceDriver%3CProtobufWritable%3CBtsCounter%3E,%0A            ProtobufWritable%3CMobData%3E, ProtobufWritable%3CNodeBts%3E,%0A            ProtobufWritable%3CMobData%3E%3E driver;%0A    %0A    @Before%0A    public void setUp() %7B%0A        this.driver = new ReduceDriver%3CProtobufWritable%3CBtsCounter%3E,%0A                ProtobufWritable%3CMobData%3E, ProtobufWritable%3CNodeBts%3E,%0A                ProtobufWritable%3CMobData%3E%3E(new VectorSumComsBtsReducer());%0A    %7D%0A%0A    @Test%0A    public void testSomeMethod() %7B%0A        final ProtobufWritable%3CBtsCounter%3E inputKey =%0A                BtsCounterUtil.createAndWrap(1L, 2, 3, 4);%0A        final ProtobufWritable%3CNodeBts%3E outputKey =%0A                NodeBtsUtil.createAndWrap(0L, 1, 2, 0);%0A        final ProtobufWritable%3CMobData%3E inputValue = MobDataUtil.createAndWrap(%0A                NullWritable.get());%0A        final ProtobufWritable%3CMobData%3E outputValue = MobDataUtil.createAndWrap(%0A                TwoIntUtil.create(3, 7));%0A        this.driver%0A                .withInput(inputKey, asList(inputValue, inputValue, inputValue,%0A                                            inputValue, inputValue, inputValue,%0A                                            inputValue))%0A                .withOutput(outputKey, outputValue)%0A                .runTest();%0A    %7D%0A%7D%0A

Add VectorSumComsBtsReducerTest.