@Test
public void testButtonItemSetsItsId() {

    TestButtonItem item = new TestButtonItem();
    final int id = 12345;
    item.setId(id);
    assertEquals("Button's id should be set", item.createButton(mParent).getId(), id);
}