ims.getIssueTypeMap().put( "Epic", IssueType.ADD);
ims.getIssueTypeMap().put( "Defect", IssueType.FIX);
ims.getIssueTypeMap().put( "Error", IssueType.FIX);
IssueAdapter adapter = new IssueAdapter( ims );
Issue issue = createIssue( "TST-1", "Story" );
Action action = adapter.createAction( issue );
assertEquals( "add", action.getType() );
issue = createIssue( "TST-2", "Epic" );
action = adapter.createAction( issue );