    @Test
    public void getFrequency() throws IOException
    {

        setUpRequestMock();
        setUpFrequencyMocks(NGramField.bigrams, "underwater basketweaver", 1L);
        TermFrequencySearcher target = new TermFrequencySearcher(mockedRequest);
        Long actual = Deencapsulation.invoke(target,"getFrequency", NGramField.bigrams, "underwater basketweaver");
        Long expected = 1L;
        Assert.assertEquals("term frequency expected equals actual", expected, actual);
    }