test_class.declarator: helper
test_class.modifier: private
test_class.original_string: private VolumeTypeHelper helper;
test_class.type: VolumeTypeHelper
test_class.var_name: helper
test_class.file: engine/api/src/test/java/org/apache/cloudstack/engine/subsystem/api/storage/type/VolumeTypeHelperTest.java
test_class.identifier: VolumeTypeHelperTest
test_case.body: @Test
      public void testGetTypeVolumeString() throws Exception {
          VolumeType type = helper.getType("String");
  
          Assert.assertTrue(type instanceof Unknown);
      }
test_case.class_method_signature: VolumeTypeHelperTest.testGetTypeVolumeString()
test_case.full_signature: @Test public void testGetTypeVolumeString()
test_case.identifier: testGetTypeVolumeString
test_case.invocations: getType assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetTypeVolumeString()
focal_class.declarator: defaultType = new Unknown()
focal_class.modifier: private static
focal_class.original_string: private static VolumeType defaultType = new Unknown();
focal_class.type: VolumeType
focal_class.var_name: defaultType
focal_class.declarator: types
focal_class.modifier: private
focal_class.original_string: private List<VolumeType> types;
focal_class.type: List<VolumeType>
focal_class.var_name: types
focal_class.declarator: mapTypes = new Hashtable<String, VolumeType>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, VolumeType> mapTypes = new Hashtable<String, VolumeType>();
focal_class.type: Map<String, VolumeType>
focal_class.var_name: mapTypes
focal_class.file: engine/api/src/main/java/org/apache/cloudstack/engine/subsystem/api/storage/type/VolumeTypeHelper.java
focal_class.identifier: VolumeTypeHelper
focal_class.class_method_signature: VolumeTypeHelper.setTypes(List<VolumeType> types)
focal_class.full_signature: @Inject public void setTypes(List<VolumeType> types)
focal_class.identifier: setTypes
focal_class.modifiers: @Inject public
focal_class.parameters: (List<VolumeType> types)
focal_class.return: void
focal_class.signature: void setTypes(List<VolumeType> types)
focal_class.class_method_signature: VolumeTypeHelper.getType(String type)
focal_class.full_signature: public VolumeType getType(String type)
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: (String type)
focal_class.return: VolumeType
focal_class.signature: VolumeType getType(String type)
focal_method.body: public VolumeType getType(String type) {
          if (mapTypes.containsKey(type.toUpperCase())) {
              return mapTypes.get(type.toUpperCase());
          }
          return VolumeTypeHelper.defaultType;
      }
focal_method.class_method_signature: VolumeTypeHelper.getType(String type)
focal_method.full_signature: public VolumeType getType(String type)
focal_method.identifier: getType
focal_method.invocations: containsKey toUpperCase get toUpperCase
focal_method.modifiers: public
focal_method.parameters: (String type)
focal_method.return: VolumeType
focal_method.signature: VolumeType getType(String type)