@Test
public void testSetShown() {

    ProgressBarMixin mixin = new ProgressBarMixin(mTemplateLayout);
    mixin.setShown(true);
    ProgressBar progressBar = (ProgressBar) mTemplateLayout.findViewById(
            R.id.suw_layout_progress);
    assertNotNull("Progress bar should be available after setting to shown", progressBar);
    assertEquals(View.VISIBLE, progressBar.getVisibility());
}