public void testMismatchedReturnTypes() {
try {
Class serviceImplClass = MismatchedReturnTypesImpl.class;
JavaClassToDBCConverter converter = new JavaClassToDBCConverter(serviceImplClass);
HashMap<String, DescriptionBuilderComposite> dbcMap = converter.produceDBC();
List<ServiceDescription> serviceDescList = DescriptionFactory.createServiceDescriptionFromDBCMap(dbcMap);
fail("Should have caused exception");
}
catch (Exception e) {
// Expected path