def METHOD_NAME(self):
    obj = {
        'operation': 'getcapabilities',
        'version': '1.0.0',
        'language': 'eng',
        'identifier': 'ahoj',
        'identifiers': 'ahoj',  # TODO: why identifierS?
        'store_execute': True,
        'status': True,
        'lineage': True,
        'inputs': {
            'myin': [{
                'identifier': 'myin',
                'type': 'complex',
                'supported_formats': [{
                    'mime_type': 'tralala'
                }],
                'file': self.tempfile,
                'data_format': {'mime_type': 'tralala'}
            }],
            'myliteral': [{
                'identifier': 'myliteral',
                'type': 'literal',
                'data_type': 'integer',
                'allowed_values': [{'type': 'anyvalue'}],
                'data': 1
            }]
        },
        'outputs': {},
        'raw': False
    }
    self.request = WPSRequest()
    self.request.json = obj
    self.assertEqual(self.request.inputs['myliteral'][0].data, 1, 'Data are in the file')
    self.assertEqual(self.request.inputs['myin'][0].data, 'ahoj', 'Data are in the file')
    self.assertListEqual(self.request.inputs['myliteral'][0].allowed_values, [AnyValue()], 'Any value not set')
    self.assertTrue(self.request.inputs['myliteral'][0].any_value, 'Any value set')