### Question:
AnimComposer extends AbstractControl { public Collection<AnimClip> getAnimClips() { return Collections.unmodifiableCollection(animClipMap.values()); } AnimComposer(); AnimClip getAnimClip(String name); void addAnimClip(AnimClip anim); void removeAnimClip(AnimClip anim); Action setCurrentAction(String name); Action setCurrentAction(String actionName, String layerName); void removeCurrentAction(String layerName); Action action(String name); Action getAction(String name); void addAction(String name, Action action); Action makeAction(String name); boolean hasAction(String name); Action removeAction(String name); void makeLayer(String name, AnimationMask mask); void removeLayer(String name); BaseAction actionSequence(String name, Tween... tweens); BlendAction actionBlended(String name, BlendSpace blendSpace, String... clips); void reset(); Collection<AnimClip> getAnimClips(); Set<String> getAnimClipsNames(); float getGlobalSpeed(); void setGlobalSpeed(float globalSpeed); @Override Object jmeClone(); @Override void cloneFields(Cloner cloner, Object original); @Override void read(JmeImporter im); @Override void write(JmeExporter ex); static final String DEFAULT_LAYER; }### Answer:
@Test public void testGetAnimClips() { AnimComposer composer = new AnimComposer(); Assert.assertNotNull(composer.getAnimClips()); Assert.assertEquals(0, composer.getAnimClips().size()); }
@Test(expected = UnsupportedOperationException.class) public void testGetAnimClipsIsNotModifiable() { AnimComposer composer = new AnimComposer(); composer.getAnimClips().add(new AnimClip("test")); }