    @Test
    public void testDecodeBmp() throws IOException
    {

        URL bmp = ImageDecoderTest.class.getClassLoader().getResource("4x4.bmp");
        FileInputStream inputStream = new FileInputStream((bmp == null) ? "" : bmp.getPath());
        Dimension dimension = decoder.decodeBmpDimension(Okio.buffer(Okio.source(inputStream)));

        assertEquals(dimension.getWidth(), 4);
        assertEquals(dimension.getHeight(), 4);
    }