--- old/modules/graphics/src/test/java/javafx/scene/effect/LightingTest.java 2014-01-23 16:00:07.000000000 +0200 +++ new/modules/graphics/src/test/java/javafx/scene/effect/LightingTest.java 2014-01-23 16:00:07.000000000 +0200 @@ -26,6 +26,8 @@ package javafx.scene.effect; import static com.sun.javafx.test.TestHelper.box; + +import com.sun.javafx.FXUnit; import com.sun.scenario.effect.Color4f; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -37,9 +39,14 @@ import javafx.scene.paint.Color; import org.junit.Before; +import org.junit.Rule; import org.junit.Test; public class LightingTest extends EffectsTestBase { + + @Rule + public FXUnit fx = new FXUnit(); + private Lighting effect; @Before