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 shouldThrowRuntimeExceptionWhenTryingToRemoveSCMIdWhichIsNotPresent() {
        SCMs scms = new SCMs();
        try {
            scms.removeSCM("id1");
            fail("should not reach here");
        } catch (Exception e) {
            assertThat(e.getMessage()).isEqualTo(String.format("Could not find SCM with id '%s'", "id1"));
        }
    }