@Test
public void calculateMinimalDistanceReturnsMinimalDistanceToRootTermAndDerivedTerms() {

    // given
    var rootTerm = "banana";
    var derivedTerms = Set.of("yellow-thing", "monkey-snack");
    var term = "yllow-thing";
    var expectedMinDistance = 1;
    var calculator = new RootTermDistanceCalculator(rootTerm, derivedTerms);
    // when
    var actualMinDistance = calculator.calculateMinimalDistance(term);
    // then
    assertThat(actualMinDistance).isEqualTo(expectedMinDistance);
}