assertEquals( "", action.getType() );
}
public void testCustomIssueTypeMapping()
{
IssueManagementSystem ims = new JIRAIssueManagmentSystem();
ims.getIssueTypeMap().put( "Story", IssueType.ADD);
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() );