### Question:
ButtonInternalImpl implements ButtonInternal { @Override public void clearAllData(ButtonRepository buttonRepository) { buttonRepository.clear(); } ButtonInternalImpl(Executor executor); void configure(ButtonRepository buttonRepository, String applicationId); @Nullable @Override String getApplicationId(ButtonRepository buttonRepository); @Override void trackIncomingIntent(ButtonRepository buttonRepository, DeviceManager deviceManager,
            Features features, Intent intent); @Nullable @Override String getAttributionToken(ButtonRepository buttonRepository); @Override void addAttributionTokenListener(ButtonRepository buttonRepository,
            @NonNull ButtonMerchant.AttributionTokenListener listener); @Override void removeAttributionTokenListener(ButtonRepository buttonRepository,
            @NonNull ButtonMerchant.AttributionTokenListener listener); @Override void clearAllData(ButtonRepository buttonRepository); @Override void handlePostInstallIntent(final ButtonRepository buttonRepository,
            final DeviceManager deviceManager, final Features features, final String packageName,
            final PostInstallIntentListener listener); @Override void reportOrder(ButtonRepository buttonRepository, DeviceManager deviceManager,
            Features features, Order order, @Nullable final OrderListener orderListener);  }### Answer:
@Test public void clearAllData_clearPersistenceManager() { ButtonRepository buttonRepository = mock(ButtonRepository.class); buttonInternal.clearAllData(buttonRepository); verify(buttonRepository).clear(); }