@@ -0,0 +1,1499 @@
+package com.spotify.heroic.aggregation;%0A%0Aimport com.google.common.collect.ImmutableMap;%0Aimport com.spotify.heroic.metric.Event;%0Aimport com.spotify.heroic.metric.MetricGroup;%0Aimport com.spotify.heroic.metric.Payload;%0Aimport com.spotify.heroic.metric.Point;%0Aimport com.spotify.heroic.metric.Spread;%0Aimport org.junit.Test;%0Aimport org.mockito.Mockito;%0A%0Aimport java.util.Map;%0A%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.verify;%0A%0Apublic class AnyBucketTest %7B%0A    @Test%0A    public void forwarding() %7B%0A        final AnyBucket any = mock(AnyBucket.class, Mockito.CALLS_REAL_METHODS);%0A        final Map%3CString, String%3E tags = ImmutableMap.of();%0A%0A        %7B%0A            final Event event = mock(Event.class);%0A            any.updateEvent(tags, event);%0A            verify(any).update(tags, event);%0A        %7D%0A%0A        %7B%0A            final Point point = mock(Point.class);%0A            any.updatePoint(tags, point);%0A            verify(any).update(tags, point);%0A        %7D%0A%0A        %7B%0A            final Spread spread = mock(Spread.class);%0A            any.updateSpread(tags, spread);%0A            verify(any).update(tags, spread);%0A        %7D%0A%0A        %7B%0A            final MetricGroup group = mock(MetricGroup.class);%0A            any.updateGroup(tags, group);%0A            verify(any).update(tags, group);%0A        %7D%0A%0A        %7B%0A            final Payload payload = mock(Payload.class);%0A            any.updatePayload(tags, payload);%0A            verify(any).update(tags, payload);%0A        %7D%0A    %7D%0A%7D%0A

test AnyBucket