@GET
    @Timed
    @Path("{inputType}")
    @ApiOperation(value = "Get information about a single input type")
    @ApiResponses(value = {
            @ApiResponse(code = 404, message = "No such input type registered.")
    })
    public InputTypeInfo info(@ApiParam(name = "inputType", required = true) @PathParam("inputType") String inputType) {
        final InputDescription description = messageInputFactory.getAvailableInputs().get(inputType);
        if (description == null) {
            throwInputTypeNotFound(inputType);
        } else if (config.isCloud() && !description.isCloudCompatible()) {
            throwInputTypeNotFound(inputType);
        }

        return InputTypeInfo.create(inputType, description.getName(), description.isExclusive(), description.getRequestedConfiguration(), description.getLinkToDocs());
    }
@Test
    public void testInputInfoCloud() {
        when(configuration.isCloud()).thenReturn(true);

        assertThat(inputTypesResource.info(CLOUD_COMPATIBLE).name()).isEqualTo(CLOUD_COMPATIBLE);
        assertThatThrownBy(() -> inputTypesResource.info(CLOUD_INCOMPATIBLE)).isInstanceOf(NotFoundException.class)
                .hasMessageContaining(CLOUD_INCOMPATIBLE);
    }