public void replaceAction(@NonNull Action a) {
        addOrReplaceAction(a);
    }
@Test
    public void replaceAction_null() {
        assertThrows(IllegalArgumentException.class, () -> thing.replaceAction(null));
    }