### Question:
VendorHandler implements VendorService.Iface { @Override public List<Vendor> searchVendors(String searchText) throws TException { return vendorSearchHandler.search(searchText); } VendorHandler(); @Override Vendor getByID(String id); @Override List<Vendor> getAllVendors(); @Override Set<String> getAllVendorNames(); @Override List<Vendor> searchVendors(String searchText); @Override List<String> searchVendorIds(String searchText); @Override String addVendor(Vendor vendor); @Override RequestStatus deleteVendor(String id, User user); @Override RequestStatus updateVendor(Vendor vendor, User user); @Override RequestStatus mergeVendors(String mergeTargetId, String mergeSourceId, Vendor mergeSelection, User user);  }### Answer:
@Test @Ignore public void testSearchVendors1() throws Exception { List<Vendor> vendors = vendorHandler.searchVendors("foundation"); assertEquals(1, vendors.size()); assertEquals(vendorList.get(1), vendors.get(0)); }
@Test @Ignore public void testSearchVendors2() throws Exception { List<Vendor> vendors = vendorHandler.searchVendors("http"); assertEquals(0, vendors.size()); }
@Test @Ignore public void testSearchVendors3() throws Exception { List<Vendor> vendors = vendorHandler.searchVendors("soft"); assertEquals(1, vendors.size()); }
@Test @Ignore public void testSearchVendors4() throws Exception { List<Vendor> vendors = vendorHandler.searchVendors("m"); assertEquals(1, vendors.size()); }