Adds a category.
string $id: The category machine name.
string $label: The category label.
string $recipients: The list of recipient e-mail addresses.
string $reply: The auto-reply text that is sent to a user upon completing the contact form.
boolean $selected: A Boolean indicating whether the category should be selected by default.
function addCategory($id, $label, $recipients, $reply, $selected) {
$edit = array();
$edit['label'] = $label;
$edit['id'] = $id;
$edit['recipients'] = $recipients;
$edit['reply'] = $reply;
$edit['selected'] = $selected ? TRUE : FALSE;
$this
->drupalPost('admin/structure/contact/add', $edit, t('Save'));
}