@Test
public void testAddVendor() throws Exception {

    Vendor oracle = new Vendor().setShortname("Oracle").setFullname("Oracle Corporation Inc").setUrl("http://www.oracle.com");
    String id = vendorHandler.addVendor(oracle);
    assertNotNull(id);
    assertEquals(vendorList.size() + 1, vendorHandler.getAllVendors().size());
    Vendor actual = vendorHandler.getByID(id);
    assertVendorEquals(oracle, actual);
}