@Test public void whenTextProvidedWithSpecialCharacterOnlyTextDisplayed() { form.setText("will:"); String derivedQueryString = setupQuery().deriveQueryString(); assertEquals("text:will\\:", derivedQueryString); }
@Test public void whenTextProvidedOnlyTextDisplayed() { form.setText("will"); String derivedQueryString = setupQuery().deriveQueryString(); assertEquals("text:will", derivedQueryString); }