@Test
public void testSelectVOIObjectShouldReturnImageIfValidVoiLutSequence() {

    DicomObject obj = new BasicDicomObject();
    DicomElement sq = obj.putSequence(Tag.VOILUTSequence);
    DicomObject item = new BasicDicomObject();
    item.putInts(Tag.LUTDescriptor, VR.US, new int[] { 1, 0, 8 });
    item.putInts(Tag.LUTData, VR.US, new int[] { 255 });
    sq.addDicomObject(item);
    assertSame(obj, VOIUtils.selectVoiObject(obj, null, 1));
}