### Question:
VendorHandler implements VendorService.Iface { @Override public List<Vendor> getAllVendors() throws TException { return vendorDatabaseHandler.getAllVendors(); } 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 public void testGetAllVendors() throws Exception { List<Vendor> actualList = vendorHandler.getAllVendors(); assertEquals(vendorList.size(), actualList.size()); }