test_class.file: tools/soitoolkit-generator/soitoolkit-generator/src/test/java/org/soitoolkit/tools/generator/model/ModelFactoryTest.java
test_class.identifier: ModelFactoryTest
test_case.body: @Test
  	public void testCustomModelImpl_error() throws InstantiationException, IllegalAccessException {
  		try {
  			ModelFactory.setModelClass(String.class);
  			fail("Expected IllegalArgumentException to be throwed");
  		} catch (IllegalArgumentException e) {
  			// Expected exception catched!
  		}
  	}
test_case.class_method_signature: ModelFactoryTest.testCustomModelImpl_error()
test_case.full_signature: @Test public void testCustomModelImpl_error()
test_case.identifier: testCustomModelImpl_error
test_case.invocations: setModelClass fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCustomModelImpl_error()
focal_class.declarator: modelClass = DefaultModelImpl.class
focal_class.modifier: private static
focal_class.original_string: private static Class<DefaultModelImpl> modelClass = DefaultModelImpl.class;
focal_class.type: Class<DefaultModelImpl>
focal_class.var_name: modelClass
focal_class.file: tools/soitoolkit-generator/soitoolkit-generator/src/main/java/org/soitoolkit/tools/generator/model/ModelFactory.java
focal_class.identifier: ModelFactory
focal_class.class_method_signature: ModelFactory.ModelFactory()
focal_class.full_signature: private  ModelFactory()
focal_class.identifier: ModelFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ModelFactory()
focal_class.class_method_signature: ModelFactory.setModelClass(Class<?> modelClass)
focal_class.full_signature: @SuppressWarnings("unchecked") public static void setModelClass(Class<?> modelClass)
focal_class.identifier: setModelClass
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<?> modelClass)
focal_class.return: void
focal_class.signature: void setModelClass(Class<?> modelClass)
focal_class.class_method_signature: ModelFactory.setModelGroovyClass(URL url)
focal_class.full_signature: @SuppressWarnings("rawtypes") public static void setModelGroovyClass(URL url)
focal_class.identifier: setModelGroovyClass
focal_class.modifiers: @SuppressWarnings("rawtypes") public static
focal_class.parameters: (URL url)
focal_class.return: void
focal_class.signature: void setModelGroovyClass(URL url)
focal_class.class_method_signature: ModelFactory.resetModelClass()
focal_class.full_signature: public static void resetModelClass()
focal_class.identifier: resetModelClass
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetModelClass()
focal_class.class_method_signature: ModelFactory.newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, TransportEnum inboundTransport, TransportEnum outboundTransport, TransformerEnum transformerType)
focal_class.full_signature: public static IModel newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, TransportEnum inboundTransport, TransportEnum outboundTransport, TransformerEnum transformerType)
focal_class.identifier: newModel
focal_class.modifiers: public static
focal_class.parameters: (String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, TransportEnum inboundTransport, TransportEnum outboundTransport, TransformerEnum transformerType)
focal_class.return: IModel
focal_class.signature: IModel newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, TransportEnum inboundTransport, TransportEnum outboundTransport, TransformerEnum transformerType)
focal_class.class_method_signature: ModelFactory.newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports)
focal_class.full_signature: public static IModel newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports)
focal_class.identifier: newModel
focal_class.modifiers: public static
focal_class.parameters: (String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports)
focal_class.return: IModel
focal_class.signature: IModel newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports)
focal_class.class_method_signature: ModelFactory.newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, List<TransportEnum> transports, String serviceDescriptor, List<String> operations)
focal_class.full_signature: public static IModel newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, List<TransportEnum> transports, String serviceDescriptor, List<String> operations)
focal_class.identifier: newModel
focal_class.modifiers: public static
focal_class.parameters: (String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, List<TransportEnum> transports, String serviceDescriptor, List<String> operations)
focal_class.return: IModel
focal_class.signature: IModel newModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, List<TransportEnum> transports, String serviceDescriptor, List<String> operations)
focal_class.class_method_signature: ModelFactory.doCreateNewModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports, TransportEnum inboundTransport, TransportEnum outboundTransport, TransformerEnum transformerType, String serviceDescriptor, List<String> operations)
focal_class.full_signature: private static IModel doCreateNewModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports, TransportEnum inboundTransport, TransportEnum outboundTransport, TransformerEnum transformerType, String serviceDescriptor, List<String> operations)
focal_class.identifier: doCreateNewModel
focal_class.modifiers: private static
focal_class.parameters: (String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports, TransportEnum inboundTransport, TransportEnum outboundTransport, TransformerEnum transformerType, String serviceDescriptor, List<String> operations)
focal_class.return: IModel
focal_class.signature: IModel doCreateNewModel(String groupId, String artifactId, String version, String service, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports, TransportEnum inboundTransport, TransportEnum outboundTransport, TransformerEnum transformerType, String serviceDescriptor, List<String> operations)
focal_method.body: @SuppressWarnings("unchecked")
  	public static void setModelClass(Class<?> modelClass) throws IllegalArgumentException {
      	if (!DefaultModelImpl.class.isAssignableFrom(modelClass)) {
      		throw new IllegalArgumentException("Modelclass, " + modelClass.getName() + ", is not a subtype of " + DefaultModelImpl.class.getName());
      	}
  		ModelFactory.modelClass = (Class<DefaultModelImpl>)modelClass;
  	}
focal_method.class_method_signature: ModelFactory.setModelClass(Class<?> modelClass)
focal_method.full_signature: @SuppressWarnings("unchecked") public static void setModelClass(Class<?> modelClass)
focal_method.identifier: setModelClass
focal_method.invocations: isAssignableFrom getName getName
focal_method.modifiers: @SuppressWarnings("unchecked") public static
focal_method.parameters: (Class<?> modelClass)
focal_method.return: void
focal_method.signature: void setModelClass(Class<?> modelClass)