@Test
public void testGetSampleDimensionTypeSampleModel() {

    
    final SampleModel sm=new BufferedImage(512, 512, BufferedImage.TYPE_USHORT_555_RGB).getSampleModel();
    assertSame(SampleDimensionType.UNSIGNED_8BITS, TypeMap.getSampleDimensionType(
            sm, 0));
    assertSame(SampleDimensionType.UNSIGNED_8BITS, TypeMap.getSampleDimensionType(
            sm, 1));
    assertSame(SampleDimensionType.UNSIGNED_8BITS, TypeMap.getSampleDimensionType(
            sm, 2));
}