@Test
public void testSetInputs() throws Exception {

  final IContentItem contentItem = mock( IContentItem.class );
  Map<String, Object> inputs = new HashMap<String, Object>() {{
      put( "from", "fromValue" );
      put( "to", "toValue" );
      put( "cc", "ccValue" );
      put( "bcc", "bccValue" );
      put( "subject", "subjectValue" );
      put( "message-plain", "message-plainValue" );
      put( "message-html", "message-htmlValue" );
      put( "mime-message", contentItem );
  }};
  sec.setInputs( inputs );
  for ( int i = 0; i < inputs.size(); i++ ) {
    String key = inputs.keySet().toArray()[ i ].toString();
    assertEquals( inputs.get( key ), sec.getInput( key, "" ) );
  }
}