class BodyPresenter {

    public void setup(final Collection<Message> messages) {
        checkNotNull("messages",
                     messages);
        view.clear();
        if (messages.isEmpty()) {
            view.addNotification(setupNotification(null).getView());
        } else {
            for (final Message message : messages) {
                view.addNotification(setupNotification(message).getView());
            }
        }
    }

    @Inject public  BodyPresenter(final View view,
                         final ManagedInstance<NotificationPresenter> presenterProvider);

}