@@ -0,0 +1,2246 @@
+package es.tid.cosmos.mobility.labelling.clientbts;%0A%0Aimport static java.util.Arrays.asList;%0A%0Aimport com.twitter.elephantbird.mapreduce.io.ProtobufWritable;%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.MobData;%0Aimport es.tid.cosmos.mobility.data.MobProtocol.NodeBts;%0Aimport es.tid.cosmos.mobility.data.MobProtocol.TwoInt;%0Aimport es.tid.cosmos.mobility.data.NodeBtsUtil;%0Aimport es.tid.cosmos.mobility.data.TwoIntUtil;%0A%0A/**%0A *%0A * @author dmicol%0A */%0Apublic class VectorFiltClientbtsReducerTest %7B%0A    private ReduceDriver%3CProtobufWritable%3CTwoInt%3E, ProtobufWritable%3CMobData%3E,%0A            ProtobufWritable%3CNodeBts%3E, ProtobufWritable%3CMobData%3E%3E driver;%0A    %0A    @Before%0A    public void setUp() %7B%0A        this.driver = new ReduceDriver%3CProtobufWritable%3CTwoInt%3E,%0A                ProtobufWritable%3CMobData%3E, ProtobufWritable%3CNodeBts%3E,%0A                ProtobufWritable%3CMobData%3E%3E(new VectorFiltClientbtsReducer());%0A    %7D%0A%0A    @Test%0A    public void testSomeMethod() %7B%0A        final ProtobufWritable%3CTwoInt%3E key = TwoIntUtil.createAndWrap(57L, 32L);%0A        MobData value1 = MobDataUtil.create(BtsCounterUtil.create(1, 2, 3, 4));%0A        value1 = MobDataUtil.setInputId(value1, 0);%0A        MobData value2 = MobDataUtil.create(BtsCounterUtil.create(5, 6, 7, 8));%0A        value2 = MobDataUtil.setInputId(value2, 1);%0A        MobData value3 = MobDataUtil.create(BtsCounterUtil.create(1, 2, 3, 4));%0A        value3 = MobDataUtil.setInputId(value3, 1);%0A        ProtobufWritable%3CNodeBts%3E outKey = NodeBtsUtil.createAndWrap(57, 32,%0A                                                                     2, 0);%0A        ProtobufWritable%3CMobData%3E outValue = MobDataUtil.createAndWrap(%0A                TwoIntUtil.create(3, 4));%0A        this.driver%0A                .withInput(key, asList(MobDataUtil.wrap(value1),%0A                                       MobDataUtil.wrap(value2),%0A                                       MobDataUtil.wrap(value3)))%0A                .withOutput(outKey, outValue)%0A                .withOutput(outKey, outValue)%0A                .runTest();%0A    %7D%0A%7D%0A

Add unit tests.