@Test
public void testRemoveSpace() {

    ButtonFooterMixin mixin = new ButtonFooterMixin(mTemplateLayout);
    final Button fooButton = mixin.addButton("foo", R.style.SuwGlifButton_Secondary);
    final View space = mixin.addSpace();
    fooButton.setTag("foo");
    space.setTag("space");
    assertNotNull("Foo button should exist", mStubParent.findViewWithTag("foo"));
    assertNotNull("space should exist", mStubParent.findViewWithTag("space"));
    mixin.removeSpace(space);
    assertNotNull("Foo button should not be removed", mStubParent.findViewWithTag("foo"));
    assertNull("Space should be removed", mStubParent.findViewWithTag("space"));
}