@Test
    public void testWithMissingImplicitLanguageOnMissingWord() {
        var implicitLanguage = Language.ITALIAN;
        var missingWord = "ciao";
        var result = searchWord(
                missingWord,
                Optional.empty(),
                Optional.of(implicitLanguage),
                Optional.empty(),
                Optional.empty()
        );
        var resultWord = getFirstWord(result);

        var existingWord = "hello";
        var documentFrequency = getModelDocumentFrequencyWithEnglish(existingWord);
        var count = documentFrequency.get().count();
        var defaultDocumentFrequency = Optional.of(new DocumentFrequency(1, count));

        assertEquals(defaultDocumentFrequency, resultWord.getDocumentFrequency());
    }
Tests significance term in the search chain.

@author MariusArhaug
container-search/src/test/java/com/yahoo/search/significance/test/SignificanceSearcherTest.java