    @Test
    public void check() {

        //given
        int initialCheckId = 12345;
        int newCheckId = 54321;
        nestedRadioGroupManager.initCheckedId(initialCheckId);

        //when
        nestedRadioGroupManager.check(newCheckId);

        //then
        verify(nestedRadioGroupManager).setCheckedStateForView(initialCheckId, false);
        verify(nestedRadioGroupManager).setCheckedStateForView(newCheckId, true);
        verify(nestedRadioGroupManager).setCheckedId(newCheckId);

    }