@Test
public void testFieldMatchesWildcardPatternSpecifiedInQuery() {

    assertThat(
        new FieldMapping("employee.first", emptyMap(), fieldsSpecifiedInQuery("employee.*")),
        isWildcardSpecified(true)
    );
}