We are performing a blind offset get, make sure we validate the name of
generated type to catch any mismatches.
Change-Id: I239df35502493e0f54db8524ed4e7714c87393c5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
assertNotNull(types);
assertEquals(3, types.size());
- final List<MethodSignature> methods = types.get(2).getMethodDefinitions();
+ final GeneratedType rpcService = types.get(2);
+ assertEquals("Mdsal500Service", rpcService.getName());
+ final List<MethodSignature> methods = rpcService.getMethodDefinitions();
assertEquals(1, methods.size());
final MethodSignature signature = methods.get(0);