Could you test that this method is called when the checked state is changed (`CompundButton.setChecked(boolean)`) ?
You could checkout `ClicksHandledActivity` from the functional-test-1-5 module and `ClicksHandledActivityTest` from the functional-test-1-5-tests module as example.