ParticleElement extends Region { public Image getTexture() { return texture; } ParticleElement(ParticleVector location, ParticleVector velocity,
            double width, double height, Image image); void move(); void display(); void age(); ParticleVector getLocation(); Image getTexture(); Boolean isDead(double pointX, double pointY); boolean isDead(int deathTime); @Override boolean isResizable();  }
@Test public void testGetTexture() { ParticleElement particle = new ParticleElement( new ParticleVector(), new ParticleVector(1, 1), 20, 20, null); Assert.assertNull(particle.getTexture()); Image nyanDuck = new Image("/nyanDuck.png"); particle = new ParticleElement( new ParticleVector(), new ParticleVector(1, 1), 20, 20, nyanDuck); Assert.assertEquals(nyanDuck, particle.getTexture()); }