@Test
public void functionalExceptionDetailsAreIncludedInFaultResponse() throws Exception {

    final FunctionalExceptionType functionalException = FunctionalExceptionType.UNSUPPORTED_DEVICE_ACTION;
    final ComponentType component = ComponentType.DOMAIN_SMART_METERING;
    final String message = "No Action Value Response Object for Action Value Response DTO Object of class: org.opensmartgridplatform.dto.valueobjects.smartmetering.NonExistentResponseDto";
    final Throwable cause = new RuntimeException(message);
    final Exception exception = new FunctionalException(functionalException, component, cause);
    final FaultResponseDto faultResponse = this.processor.faultResponseForException(exception, null,
            this.defaultMessage);
    this.assertResponse(faultResponse, functionalException.getCode(), functionalException.name(), component.name(),
            cause.getClass().getName(), message, this.parameters);
}