@Test
public void testSetTheme() {

    TestButtonItem item = new TestButtonItem();
    item.setTheme(R.style.SuwButtonItem_Colored);
    final Button button = item.createButton(mParent);
    assertEquals("ButtonItem theme should be SuwButtonItem.Colored",
            R.style.SuwButtonItem_Colored, item.getTheme());
    assertNotNull(button.getContext().getTheme());
}