public void removeSCM(String id) {
        SCM scmToBeDeleted = this.find(id);
        if (scmToBeDeleted == null) {
            throw new RuntimeException(String.format("Could not find SCM with id '%s'", id));
        }
        this.remove(scmToBeDeleted);
    }
@Test
    void shouldRemoveSCMById() {
        SCM scm1 = SCMMother.create("id1");
        SCM scm2 = SCMMother.create("id2");
        SCMs scms = new SCMs(scm1, scm2);

        scms.removeSCM("id1");

        assertThat(scms).containsExactly(scm2);
    }