class DialogDescriptorFactory {

    public DialogDescriptor createDialogDescriptorForStubMode(final String dialogDescriptorName) {
        DialogDescriptorAttributes attributes = new DialogDescriptorAttributes(dialogDescriptorName, DialogDescriptorUsage.ALWAYS);
        ConditionDescriptor conditionDescriptor = conditionDescriptorFactory.createConditionDescriptorForStubMode();
        ResponseDescriptor responseDescriptor = responseDescriptorFactory.createResponseDescriptorForStubMode();
        return new DialogDescriptor(attributes, conditionDescriptor, responseDescriptor);
    }

}