test_class.file: findhouse-subscribe/src/test/java/com/hialan/findhouse/web/subscribe/email/MailSenderTest.java
test_class.identifier: MailSenderTest
test_case.body: @Test
  	public void testSendMail() throws Exception{
  		MailSender mailSender = new MailSender();
  		Email email = new Email();
  		email.setContent("test");
  		mailSender.createSession(new HiAlanMailAuthenticator("", "")).buildMsg(email).sendMail();
  	}
test_case.class_method_signature: MailSenderTest.testSendMail()
test_case.full_signature: @Test public void testSendMail()
test_case.identifier: testSendMail
test_case.invocations: setContent sendMail buildMsg createSession
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSendMail()
focal_class.declarator: logger = LoggerFactory.getLogger(getClass())
focal_class.modifier: private
focal_class.original_string: private Logger logger = LoggerFactory.getLogger(getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: session = null
focal_class.modifier: private
focal_class.original_string: private Session session = null;
focal_class.type: Session
focal_class.var_name: session
focal_class.declarator: message = null
focal_class.modifier: private
focal_class.original_string: private Message message = null;
focal_class.type: Message
focal_class.var_name: message
focal_class.file: findhouse-subscribe/src/main/java/com/hialan/findhouse/web/subscribe/email/MailSender.java
focal_class.identifier: MailSender
focal_class.class_method_signature: MailSender.create()
focal_class.full_signature: public static MailSender create()
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: MailSender
focal_class.signature: MailSender create()
focal_class.class_method_signature: MailSender.getProps()
focal_class.full_signature: private Properties getProps()
focal_class.identifier: getProps
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties getProps()
focal_class.class_method_signature: MailSender.createSession(Authenticator authenticator)
focal_class.full_signature: public MailSender createSession(Authenticator authenticator)
focal_class.identifier: createSession
focal_class.modifiers: public
focal_class.parameters: (Authenticator authenticator)
focal_class.return: MailSender
focal_class.signature: MailSender createSession(Authenticator authenticator)
focal_class.class_method_signature: MailSender.buildMsg(Email email)
focal_class.full_signature: public MailSender buildMsg(Email email)
focal_class.identifier: buildMsg
focal_class.modifiers: public
focal_class.parameters: (Email email)
focal_class.return: MailSender
focal_class.signature: MailSender buildMsg(Email email)
focal_class.class_method_signature: MailSender.sendMail()
focal_class.full_signature: public void sendMail()
focal_class.identifier: sendMail
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void sendMail()
focal_method.body: public void sendMail()  {
  		try {
  			Transport.send(message);
  		} catch (MessagingException e) {
  			logger.warn("send message failed", e);
  		}
  	}
focal_method.class_method_signature: MailSender.sendMail()
focal_method.full_signature: public void sendMail()
focal_method.identifier: sendMail
focal_method.invocations: send warn
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void sendMail()