DLOpenerOneDriveMimeTypes { public static String getMimeTypeExtension(String mimeType) { return DLOpenerMimeTypes.getMimeTypeExtension(mimeType); }  static String getMimeTypeExtension(String mimeType); static String getOffice365MimeType(String mimeType); static boolean isOffice365MimeTypeSupported(String mimeType);  }
@Test public void testGetMimeTypeExtension() { Assert.assertEquals( ".docx", DLOpenerOneDriveMimeTypes.getMimeTypeExtension( DLOpenerMimeTypes.APPLICATION_VND_DOCX)); Assert.assertEquals( ".pptx", DLOpenerOneDriveMimeTypes.getMimeTypeExtension( DLOpenerMimeTypes.APPLICATION_VND_PPTX)); Assert.assertEquals( ".xlsx", DLOpenerOneDriveMimeTypes.getMimeTypeExtension( DLOpenerMimeTypes.APPLICATION_VND_XLSX)); }