@Test public void testSetProducer() throws Exception { StandaloneProducer service = new StandaloneProducer(); try { service.setProducer(null); fail("Producer allows nulls"); } catch (IllegalArgumentException e) { ; } }
public void setProducer(AdaptrisMessageProducer prod) { producer = Args.notNull(prod, "producer"); }
StandaloneProducer extends ServiceImp implements AdaptrisMessageSender, ConnectedService { public void setProducer(AdaptrisMessageProducer prod) { producer = Args.notNull(prod, "producer"); } }
StandaloneProducer extends ServiceImp implements AdaptrisMessageSender, ConnectedService { public void setProducer(AdaptrisMessageProducer prod) { producer = Args.notNull(prod, "producer"); } StandaloneProducer();  StandaloneProducer(AdaptrisMessageProducer p);  StandaloneProducer(AdaptrisConnection c, AdaptrisMessageProducer p); }
StandaloneProducer extends ServiceImp implements AdaptrisMessageSender, ConnectedService { public void setProducer(AdaptrisMessageProducer prod) { producer = Args.notNull(prod, "producer"); } StandaloneProducer();  StandaloneProducer(AdaptrisMessageProducer p);  StandaloneProducer(AdaptrisConnection c, AdaptrisMessageProducer p); @Override void produce(AdaptrisMessage msg); @Override @SuppressWarnings("deprecation") void produce(AdaptrisMessage msg, ProduceDestination dest); @Override void start(); @Override void stop(); @Override void prepare(); @Override AdaptrisConnection getConnection(); AdaptrisMessageProducer getProducer(); @Override void setConnection(AdaptrisConnection conn); void setProducer(AdaptrisMessageProducer prod); @Override void doService(AdaptrisMessage msg); @Override String createName(); @Override String createQualifier(); }
StandaloneProducer extends ServiceImp implements AdaptrisMessageSender, ConnectedService { public void setProducer(AdaptrisMessageProducer prod) { producer = Args.notNull(prod, "producer"); } StandaloneProducer();  StandaloneProducer(AdaptrisMessageProducer p);  StandaloneProducer(AdaptrisConnection c, AdaptrisMessageProducer p); @Override void produce(AdaptrisMessage msg); @Override @SuppressWarnings("deprecation") void produce(AdaptrisMessage msg, ProduceDestination dest); @Override void start(); @Override void stop(); @Override void prepare(); @Override AdaptrisConnection getConnection(); AdaptrisMessageProducer getProducer(); @Override void setConnection(AdaptrisConnection conn); void setProducer(AdaptrisMessageProducer prod); @Override void doService(AdaptrisMessage msg); @Override String createName(); @Override String createQualifier();  }