Passed
org.appng.tools.file.MagicByteCheckTest.testWrongExtension
Standard Output
2020-06-30 09:05:57,435 TRACE [main] com.j256.simplemagic.entries.MagicEntry: matched data: level 0,name 'JPEG',mime 'image/jpeg',test 'EQUALS, value 65496',format 'JPEG image data': com.j256.simplemagic.entries.MagicEntry$ContentData@2bbf4b8b 2020-06-30 09:05:57,435 TRACE [main] com.j256.simplemagic.entries.MagicEntry: matched data: level 1,name ',',test 'JFIF',format ', JFIF standard': com.j256.simplemagic.entries.MagicEntry$ContentData@2bbf4b8b 2020-06-30 09:05:57,435 TRACE [main] com.j256.si ...[truncated 11882 chars]... 'image/png',test 'PNG  ',format 'PNG image' 2020-06-30 09:05:57,460 TRACE [main] com.j256.simplemagic.entries.MagicEntries: returning full match png, type PNG, mime 'image/png', msg 'PNG image, 1600 x 843, 8-bit/color RGBA, non-interlaced' 2020-06-30 09:05:57,460 DEBUG [main] org.appng.tools.file.MagicByteCheck: File type detected by magic byte (png) is not identical with file extension for file bmp 2020-06-30 09:05:57,460 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.000