@Test
public void testLegacyNotifyBucketIdProvider()
{

    TestingBucketed bucketed = spy(new TestingBucketed());
    reportExporter.export(TESTING_OBJECT_NAME, bucketed);
    verify(bucketed).setBucketIdProvider(bucketIdProvider);
    verify(bucketed.getInnerBucketed()).setBucketIdProvider(bucketIdProvider);
}