@Test public void testDoServiceSecondMatch() throws Exception { SyntaxBranchingService sbs = new SyntaxBranchingService(); sbs.setSyntaxIdentifiers(createStandardIdentifiers()); AdaptrisMessage msg = AdaptrisMessageFactory.getDefaultInstance().newMessage( "<document><envelope>ENVELOPE</envelope><content>CONTENT</content></document>"); execute(sbs, msg); assertEquals("isXml", msg.getNextServiceId()); }
public void setSyntaxIdentifiers(List<SyntaxIdentifier> l) { syntaxIdentifiers = Args.notNull(l, "identifiers"); }
SyntaxBranchingService extends BranchingServiceImp { public void setSyntaxIdentifiers(List<SyntaxIdentifier> l) { syntaxIdentifiers = Args.notNull(l, "identifiers"); } }
SyntaxBranchingService extends BranchingServiceImp { public void setSyntaxIdentifiers(List<SyntaxIdentifier> l) { syntaxIdentifiers = Args.notNull(l, "identifiers"); }  }
SyntaxBranchingService extends BranchingServiceImp { public void setSyntaxIdentifiers(List<SyntaxIdentifier> l) { syntaxIdentifiers = Args.notNull(l, "identifiers"); }  void doService(AdaptrisMessage msg); void addSyntaxIdentifier(SyntaxIdentifier ident); List<SyntaxIdentifier> getSyntaxIdentifiers(); void setSyntaxIdentifiers(List<SyntaxIdentifier> l); @Override void prepare(); }
SyntaxBranchingService extends BranchingServiceImp { public void setSyntaxIdentifiers(List<SyntaxIdentifier> l) { syntaxIdentifiers = Args.notNull(l, "identifiers"); }  void doService(AdaptrisMessage msg); void addSyntaxIdentifier(SyntaxIdentifier ident); List<SyntaxIdentifier> getSyntaxIdentifiers(); void setSyntaxIdentifiers(List<SyntaxIdentifier> l); @Override void prepare();  }