@Test
public void shouldReturnCnFilterStringWhenNotSerialNumberQuery() {

    String filterString = new LdapFilter(CN_QUERY).filterString();
    assertThat(filterString, is("(cn=*" + CN_QUERY + "*)"));
}