test_class.declarator: thrown = ExpectedException.none()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public ExpectedException thrown = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: thrown
test_class.declarator: fileItem
test_class.modifier: private
test_class.original_string: private FileItem  fileItem;
test_class.type: FileItem
test_class.var_name: fileItem
test_class.declarator: providers
test_class.modifier: private
test_class.original_string: private Providers providers;
test_class.type: Providers
test_class.var_name: providers
test_class.declarator: inputItem
test_class.modifier: private
test_class.original_string: private DefaultInputItem inputItem;
test_class.type: DefaultInputItem
test_class.var_name: inputItem
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/provider/multipart/DefaultInputItemTest.java
test_class.identifier: DefaultInputItemTest
test_case.body: @Test
      public void getsMediaType() throws Exception {
          when(fileItem.getContentType()).thenReturn("text/plain");
  
          assertEquals(TEXT_PLAIN_TYPE, inputItem.getMediaType());
      }
test_case.class_method_signature: DefaultInputItemTest.getsMediaType()
test_case.full_signature: @Test public void getsMediaType()
test_case.identifier: getsMediaType
test_case.invocations: thenReturn when getContentType assertEquals getMediaType
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getsMediaType()
focal_class.declarator: EMPTY = new Annotation[0]
focal_class.modifier: private static final
focal_class.original_string: private static final Annotation[] EMPTY = new Annotation[0];
focal_class.type: Annotation[]
focal_class.var_name: EMPTY
focal_class.declarator: fileItem
focal_class.modifier: private final
focal_class.original_string: private final FileItem                       fileItem;
focal_class.type: FileItem
focal_class.var_name: fileItem
focal_class.declarator: headers
focal_class.modifier: private final
focal_class.original_string: private final MultivaluedMap<String, String> headers;
focal_class.type: MultivaluedMap<String, String>
focal_class.var_name: headers
focal_class.declarator: providers
focal_class.modifier: private final
focal_class.original_string: private final Providers                      providers;
focal_class.type: Providers
focal_class.var_name: providers
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/provider/multipart/DefaultInputItem.java
focal_class.identifier: DefaultInputItem
focal_class.interfaces: implements InputItem
focal_class.class_method_signature: DefaultInputItem.DefaultInputItem(FileItem fileItem, Providers providers)
focal_class.full_signature:   DefaultInputItem(FileItem fileItem, Providers providers)
focal_class.identifier: DefaultInputItem
focal_class.parameters: (FileItem fileItem, Providers providers)
focal_class.signature:  DefaultInputItem(FileItem fileItem, Providers providers)
focal_class.class_method_signature: DefaultInputItem.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: DefaultInputItem.getFilename()
focal_class.full_signature: @Override public String getFilename()
focal_class.identifier: getFilename
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFilename()
focal_class.class_method_signature: DefaultInputItem.getMediaType()
focal_class.full_signature: @Override public MediaType getMediaType()
focal_class.identifier: getMediaType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MediaType
focal_class.signature: MediaType getMediaType()
focal_class.class_method_signature: DefaultInputItem.getHeaders()
focal_class.full_signature: @Override public MultivaluedMap<String, String> getHeaders()
focal_class.identifier: getHeaders
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MultivaluedMap<String, String>
focal_class.signature: MultivaluedMap<String, String> getHeaders()
focal_class.class_method_signature: DefaultInputItem.getBody()
focal_class.full_signature: @Override public InputStream getBody()
focal_class.identifier: getBody
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: InputStream
focal_class.signature: InputStream getBody()
focal_class.class_method_signature: DefaultInputItem.getBody(Class<T> type, Type genericType)
focal_class.full_signature: @Override public T getBody(Class<T> type, Type genericType)
focal_class.identifier: getBody
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> type, Type genericType)
focal_class.return: T
focal_class.signature: T getBody(Class<T> type, Type genericType)
focal_class.class_method_signature: DefaultInputItem.getBodyAsString()
focal_class.full_signature: @Override public String getBodyAsString()
focal_class.identifier: getBodyAsString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getBodyAsString()
focal_method.body: @Override
      public MediaType getMediaType() {
          final String contentType = fileItem.getContentType();
          return contentType == null ? null : MediaType.valueOf(contentType);
      }
focal_method.class_method_signature: DefaultInputItem.getMediaType()
focal_method.full_signature: @Override public MediaType getMediaType()
focal_method.identifier: getMediaType
focal_method.invocations: getContentType valueOf
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: MediaType
focal_method.signature: MediaType getMediaType()