@Test(expected = ValueNotAllowedException.class)
public void BusinessDiscoveryURLMaxLengthToolongUseTypeTest() throws DispositionReportFaultMessage, RemoteException {
System.out.println("BusinessDiscoveryURLMaxLengthToolongUseTypeTest");
SaveBusiness sb = new SaveBusiness();
sb.setAuthInfo(authInfoJoe);
BusinessEntity be = new BusinessEntity();
Name n = new Name();
n.setValue("A Test business");
be.getName().add(n);
be.setDiscoveryURLs(new DiscoveryURLs());
DiscoveryURL d = new DiscoveryURL();
d.setValue(str4096);
d.setUseType(str256);
be.getDiscoveryURLs().getDiscoveryURL().add(d);
sb.getBusinessEntity().add(be);
try {
BusinessDetail saveBusiness = publication.saveBusiness(sb);
DeleteBusiness db = new DeleteBusiness();
db.setAuthInfo(authInfoJoe);