@Test public void testApplicationServiceMediation() {

    //
    // Create our test ActionItems to customize
    //
    ActionItem.Builder fooActionItemBuilder = ActionItem.Builder.create(
            "321", "A", "234", DateTime.now(), "Foo Doc Label", "http://asdf.com/", "FooDocType", "345", "gilesp"
    );
    fooActionItemBuilder.setId(FOO_ACTION_ITEM_ID);
    ActionItem.Builder barActionItemBuilder = ActionItem.Builder.create(
            "322", "A", "235", DateTime.now(), "Bar Doc Label", "http://asdf.com/", "BarDocType", "346", "gilesp"
    );
    fooActionItemBuilder.setId(DEFAULT_ACTION_ITEM_ID);
    ArrayList<ActionItem> actionItems = new ArrayList<ActionItem>();
    actionItems.add(fooActionItemBuilder.build());
    actionItems.add(barActionItemBuilder.build());
    Map<String, ActionItemCustomization> customizations = mediator.getActionListCustomizations("gilesp", actionItems);
    assertTrue(customizations.size() == 2);
    // this proves that the appropriate services were called by the mediator
    assertEquals(fooResult, customizations.get(fooResult.getActionItemId()));
    assertEquals(defaultResult, customizations.get(defaultResult.getActionItemId()));
}