@Test
 public void testDispose1() {
   final Actor a = new ActorImpl(scene, "actor", "a");
   scene.add(a);
   scene.dispose();
   Assert.assertTrue(scene.lookupAll(Actor.class).isEmpty());
 }
  @Test
  public void testDispose2() {
    final Actor a = new ActorImpl(scene, "actor", "a");
    ColorSupport.newInstance(a);
    TransformSupport.newInstance(a);
    scene.add(a);

    scene.dispose();
    Assert.assertTrue(scene.lookupAll(Actor.class).isEmpty());
    Assert.assertTrue(scene.lookupAll(ColorSupport.class).isEmpty());
    Assert.assertTrue(scene.lookupAll(TransformSupport.class).isEmpty());
    Assert.assertNull(a.lookup(ColorSupport.class));
    Assert.assertNull(a.lookup(TransformSupport.class));
    Assert.assertNull(scene.getActor("a"));
  }