    @Test
    public void testSelectVOIObjectShouldReturnSharedFrameDataIfPerFrameDataIsNotPresent() {

        DicomObject sharedVoiLut = createWindowCenterObject();
        DicomObject obj = new BasicDicomObject();
        DicomElement frameGroupSequence = obj.putSequence(Tag.PerFrameFunctionalGroupsSequence);
        addFrame(frameGroupSequence, null);
        addFrame(frameGroupSequence, null);
        obj.putNestedDicomObject(Tag.SharedFunctionalGroupsSequence,
                createFrameGroups(sharedVoiLut));

        assertSame(sharedVoiLut, VOIUtils.selectVoiObject(obj, null, 2));
    }