use of org.devgateway.ocds.web.rest.controller.request.OrganizationSearchRequest in project oc-explorer by devgateway.
the class OrganizationEndpointsTest method testBuyerSearchText.
@Test
public void testBuyerSearchText() {
final OrganizationSearchRequest osr = new OrganizationSearchRequest();
osr.setText("Development");
final List<Organization> organizations = buyerSearchController.searchText(osr);
Assert.assertEquals(1, organizations.size(), 0);
}
use of org.devgateway.ocds.web.rest.controller.request.OrganizationSearchRequest in project oc-explorer by devgateway.
the class OrganizationEndpointsTest method testProcuringEntitySearchText.
@Test
public void testProcuringEntitySearchText() {
final OrganizationSearchRequest osr = new OrganizationSearchRequest();
osr.setText("Development");
final List<Organization> organizations = procuringEntitySearchController.searchText(osr);
Assert.assertEquals(1, organizations.size(), 0);
}
use of org.devgateway.ocds.web.rest.controller.request.OrganizationSearchRequest in project oc-explorer by devgateway.
the class OrganizationEndpointsTest method testOrganizationSearchText.
@Test
public void testOrganizationSearchText() {
final OrganizationSearchRequest osr = new OrganizationSearchRequest();
osr.setText("Development");
final List<Organization> organizations = organizationSearchController.searchText(osr);
Assert.assertEquals(1, organizations.size(), 0);
}
use of org.devgateway.ocds.web.rest.controller.request.OrganizationSearchRequest in project oc-explorer by devgateway.
the class OrganizationEndpointsTest method testSupplierSaerchText.
@Test
public void testSupplierSaerchText() {
final OrganizationSearchRequest osr = new OrganizationSearchRequest();
osr.setText("Development");
final List<Organization> organizations = supplierSearchController.searchText(osr);
Assert.assertEquals(0, organizations.size(), 0);
}
Aggregations