test_class.file: cucumber-formatter/src/test/java/at/porscheinformatik/cucumber/formatter/MimeTypeToExtensionsUtilTest.java
test_class.identifier: MimeTypeToExtensionsUtilTest
test_case.body: @Test
      public void mapTextPlainToLog()
      {
          String extension = MimeTypeToExtensionsUtil.getExtension("text/plain");
          Assert.assertEquals("log", extension);
      }
test_case.class_method_signature: MimeTypeToExtensionsUtilTest.mapTextPlainToLog()
test_case.full_signature: @Test public void mapTextPlainToLog()
test_case.identifier: mapTextPlainToLog
test_case.invocations: getExtension assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void mapTextPlainToLog()
focal_class.declarator: MIME_TYPES_EXTENSIONS = new HashMap<String, String>()
      {
          {
              put("image/jpeg", "jpg");
              put("text/plain", "log");
          }
      }
focal_class.modifier: protected static final
focal_class.original_string: protected static final Map<String, String> MIME_TYPES_EXTENSIONS = new HashMap<String, String>()
      {
          {
              put("image/jpeg", "jpg");
              put("text/plain", "log");
          }
      };
focal_class.type: Map<String, String>
focal_class.var_name: MIME_TYPES_EXTENSIONS
focal_class.file: cucumber-formatter/src/main/java/at/porscheinformatik/cucumber/formatter/MimeTypeToExtensionsUtil.java
focal_class.identifier: MimeTypeToExtensionsUtil
focal_class.class_method_signature: MimeTypeToExtensionsUtil.getExtension(final String mimeType)
focal_class.full_signature: public static String getExtension(final String mimeType)
focal_class.identifier: getExtension
focal_class.modifiers: public static
focal_class.parameters: (final String mimeType)
focal_class.return: String
focal_class.signature: String getExtension(final String mimeType)
focal_method.body: public static String getExtension(final String mimeType)
      {
          if (MIME_TYPES_EXTENSIONS.containsKey(mimeType))
          {
              return MIME_TYPES_EXTENSIONS.get(mimeType);
          }
          return mimeType.substring(mimeType.indexOf("/") + 1);
      }
focal_method.class_method_signature: MimeTypeToExtensionsUtil.getExtension(final String mimeType)
focal_method.full_signature: public static String getExtension(final String mimeType)
focal_method.identifier: getExtension
focal_method.invocations: containsKey get substring indexOf
focal_method.modifiers: public static
focal_method.parameters: (final String mimeType)
focal_method.return: String
focal_method.signature: String getExtension(final String mimeType)