### Question:
ResourceBundleMessageBodyWriter implements MessageBodyWriter<ResourceBundle> { @Override public long getSize( ResourceBundle resourceBundle, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType ) { return -1; }  @Override boolean isWriteable( Class<?> type, Type genericType, Annotation[] annotations,
                                        MediaType mediaType ); @Override long getSize( ResourceBundle resourceBundle, Class<?> type, Type genericType,
                                 Annotation[] annotations, MediaType mediaType ); @Override void writeTo( ResourceBundle resourceBundle, Class<?> type, Type genericType,
                                 Annotation[] annotations, MediaType mediaType,
                                 MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream );  }### Answer:
@Test public void testGetSize() { assertEquals( -1, new ResourceBundleMessageBodyWriter().getSize( null, null, null, null, null ) ); }