### Question:
ButtonInternalImpl implements ButtonInternal { public void configure(ButtonRepository buttonRepository, String applicationId) { if (!ButtonUtil.isApplicationIdValid(applicationId)) { Log.e(TAG, "Application ID [" + applicationId + "] is not valid. " + "You can find your Application ID in the dashboard by logging in at" + " https: } buttonRepository.setApplicationId(applicationId); } 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 configure_saveApplicationIdInMemory() { ButtonRepository buttonRepository = mock(ButtonRepository.class); buttonInternal.configure(buttonRepository, "app-abcdef1234567890"); verify(buttonRepository).setApplicationId("app-abcdef1234567890"); }