### Question:
MeliSpinner extends FrameLayout { @Deprecated public final MeliSpinner setSpinnerMode(final SpinnerMode mode) { size = mode == SpinnerMode.BIG_WHITE || mode == SpinnerMode.BIG_YELLOW ? LARGE : SMALL; configureSpinner(mode.primaryColor, mode.secondaryColor); return this; } MeliSpinner(final Context context);  MeliSpinner(final Context context, final AttributeSet attrs); @SuppressWarnings("PMD.ConstructorCallsOverridableMethod")  MeliSpinner(final Context context, final AttributeSet attrs, final int defStyleAttr); void setSize(@SpinnerSize final int size); void setPrimaryColor(@ColorRes final int primaryColor); void setSecondaryColor(@ColorRes final int secondaryColor); MeliSpinner setText(final CharSequence text); @Deprecated final MeliSpinner setSpinnerMode(final SpinnerMode mode); @Deprecated void start(); @Deprecated void stop();  }### Answer:
@Test public void testDefaultInitialization() { spinner.setSpinnerMode(MeliSpinner.SpinnerMode.BIG_YELLOW); final TextView textView = getTextView(spinner); Assert.assertNotNull(textView); Assert.assertEquals(View.GONE, textView.getVisibility()); final LoadingSpinner loadingSpinner = getLoadingSpinner(spinner); Assert.assertNotNull(loadingSpinner); Assert.assertEquals(View.VISIBLE, loadingSpinner.getVisibility()); }