    @Test
    public void testOnAddSameLocation() throws FalconException{

        Feed f1 = createFeed("f1SameLocations");
        int initialSize = FeedLocationStore.get().store.getSize();
        f1.getLocations().getLocations().add(createLocation(LocationType.DATA,
                "/projects/cas/data/hourly/2014/09/09/09"));
        f1.getLocations().getLocations().add(createLocation(LocationType.STATS,
                "/projects/cas/stats/hourly/2014/09/09/09"));

        Feed f2 = createFeed("f2SameLocations");
        f2.getLocations().getLocations().add(createLocation(LocationType.STATS,
                "/projects/cas/data/hourly/2014/09/09/09"));
        f2.getLocations().getLocations().add(createLocation(LocationType.DATA,
                "/projects/cas/stats/hourly/2014/09/09/09"));

        store.publish(EntityType.FEED, f1);
        store.publish(EntityType.FEED, f2);
        int finalSize = FeedLocationStore.get().store.getSize();
        Assert.assertEquals(finalSize - initialSize, 8);
    }