@Test public void testNewMessageBuilder() throws MimeException { MessageServiceFactory factory = MessageServiceFactory.newInstance(); Assert.assertNotNull(factory); MessageBuilder builder = factory.newMessageBuilder(); Message message = builder.newMessage(); Assert.assertNotNull(message); }
public abstract MessageBuilder newMessageBuilder();
MessageServiceFactory { public abstract MessageBuilder newMessageBuilder(); }
MessageServiceFactory { public abstract MessageBuilder newMessageBuilder();  }
MessageServiceFactory { public abstract MessageBuilder newMessageBuilder();  static MessageServiceFactory newInstance(); abstract MessageBuilder newMessageBuilder(); abstract MessageWriter newMessageWriter(); abstract void setAttribute(String name, Object value); }
MessageServiceFactory { public abstract MessageBuilder newMessageBuilder();  static MessageServiceFactory newInstance(); abstract MessageBuilder newMessageBuilder(); abstract MessageWriter newMessageWriter(); abstract void setAttribute(String name, Object value);  }