Ignore:
Timestamp:
02/13/14 16:16:28 (10 years ago)
Author:
twagoo
Message:

implemented solr query factory, added optional textual query to model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0/vlo-web-app/src/test/java/eu/clarin/cmdi/vlo/pages/TestFacetedSearchPage.java

    r4501 r4511  
    2121import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
    2222import org.springframework.test.context.support.AnnotationConfigContextLoader;
     23
     24import static org.hamcrest.core.AnyOf.*;
    2325
    2426/**
     
    6668        mockery.checking(new Expectations() {
    6769            {
    68                 oneOf(facetFieldsService).getFacetFieldCount();
     70                atLeast(1).of(facetFieldsService).getFacetFieldCount();
    6971                will(returnValue(2L));
    70                 oneOf(facetFieldsService).getFacetFields(with(any(List.class)));
     72                oneOf(facetFieldsService).getFacetFields(with(any(List.class)), with(anyOf(aNull(String.class), any(String.class))));
    7173                will(returnValue(Arrays.asList(new FacetField("language"), new FacetField("resource class"))));
    7274            }
Note: See TracChangeset for help on using the changeset viewer.