Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | package dev.hltech.dredd.domain.validation.mq; |
||
9 | @Component |
||
10 | public class MqInterfaceContractValidator extends InterfaceContractValidator<String, String> { |
||
11 | |||
12 | private static final String COMMUNICATION_INTERFACE = "mq"; |
||
13 | |||
14 | public MqInterfaceContractValidator() { |
||
15 | super(COMMUNICATION_INTERFACE); |
||
16 | } |
||
17 | |||
18 | @Override |
||
19 | public String asCapabilities(String rawCapabilities) { |
||
20 | return rawCapabilities; |
||
21 | } |
||
22 | |||
23 | @Override |
||
24 | public String asExpectations(String rawExpectations) { |
||
25 | return rawExpectations; |
||
26 | } |
||
27 | |||
28 | @Override |
||
29 | public List<InteractionValidationResult> validate(String expectations, String capabilities) { |
||
30 | return ImmutableList.of(); |
||
31 | } |
||
33 |