@Test
public void createAndFilter() {

    final ImmutableLogicalFilter underTest =
            ImmutableLogicalFilter.and(searchFilterMock, searchFilterMock, searchFilterMock, searchFilterMock);
    assertThat(underTest)
            .hasType(SearchFilter.Type.AND)
            .containsAmountOfFilters(4)
            .containsOnlyFilter(searchFilterMock);
}