Wootric { public void setDailyResponseCap(int value) { settings.setDailyResponseCap(value); } private  Wootric(FragmentActivity fragmentActivity, String clientId, String accountToken); private  Wootric(Activity activity, String clientId, String accountToken); private  Wootric(FragmentActivity fragmentActivity, String accountToken); private  Wootric(Activity activity, String accountToken); static Wootric init(FragmentActivity fragmentActivity, String clientId, String accountToken); static Wootric init(Activity activity, String clientId, String accountToken); static Wootric init(FragmentActivity fragmentActivity, String accountToken); static Wootric init(Activity activity, String accountToken); static void notifySurveyFinished(boolean surveyShown, boolean responseSent, Integer resurvey_days); Wootric get(); void setSurveyCallback(WootricSurveyCallback surveyCallback); void setEventName(String eventName); void setEndUserEmail(String email); void setEndUserExternalId(String externalId); void setEndUserPhoneNumber(String phoneNumber); void setEndUserCreatedAt(long createdAt); void setProperties(HashMap<String, String> properties); void setSurveyImmediately(boolean surveyImmediately); void setShowOptOut(boolean showOptOut); void setCustomMessage(WootricCustomMessage customMessage); void setFirstSurveyDelay(int value); void setDailyResponseCap(int value); void setRegisteredPercent(int value); void setVisitorPercent(int value); void setResurveyThrottle(int value); void setLanguageCode(String languageCode); void setProductName(String productName); void setRecommendTarget(String recommendTarget); void setFacebookPageId(String facebookPage); void setTwitterPage(String twitterPage); void setCustomThankYou(WootricCustomThankYou customThankYou); void setSurveyColor(int surveyColor); void setScoreColor(int scoreColor); void setThankYouButtonBackgroundColor(int thankYouButtonBackgroundColor); void setSocialSharingColor(int socialSharingColor); void shouldSkipFollowupScreenForPromoters(boolean shouldSkipFollowupScreenForPromoters); void skipFeedbackScreen(boolean skipFeedbackScreen); void setCustomTimeDelay(int customTimeDelay); void setSurveyTypeScale(int surveyTypeScale); void stop(); void survey(String eventName); void survey(); void showSurveyInActivity(Activity activity, String eventName); void showSurveyInActivity(Activity activity);  }
@Test public void setsDailyResponseCapInSettings() { Wootric wootric = Wootric.singleton; wootric.setDailyResponseCap(20); assertThat(wootric.settings.getDailyResponseCap()).isEqualTo(20); }