@Test
public void testSetText() {

    TestButtonItem item = new TestButtonItem();
    item.setText("lorem ipsum");
    final Button button = item.createButton(mParent);
    assertEquals("ButtonItem text should be \"lorem ipsum\"", "lorem ipsum", item.getText());
    assertEquals("Button text should be \"lorem ipsum\"", "lorem ipsum", button.getText());
}