EasyMock.expect(mockIconSource.getIcon("iconName")).andReturn(testIcon);
EasyMock.replay(mockIconSource);
fieldFaceSource.setIconSource(mockIconSource);
FieldFace face = fieldFaceSource.loadFieldFace("field", "context");
assertEquals("the caption", face.getCaption());
assertEquals("the label", face.getDisplayName());
assertEquals("the description", face.getDescription());
assertEquals(testIcon, face.getIcon());
EasyMock.verify(mockIconSource);
}