@Test(expected = BinderException.class)
public void bind_nonExistingId_exceptionThrown() {

    Button button = (Button) inflater.inflate(getXml("single-button.xml"));
    Binder binder = new Binder();
    binder.bind(button, new ControllerWithMissingIdBinding());
}