Rubble implements SolObject { @Override public float getAngle() { return angle; } Rubble(Body body, ArrayList<Drawable> drawables); @Override Vector2 getPosition(); @Override FarObject toFarObject(); @Override List<Drawable> getDrawables(); @Override float getAngle(); @Override Vector2 getVelocity(); @Override void handleContact(SolObject other, float absImpulse,
                              SolGame game, Vector2 collPos); @Override Boolean isMetal(); @Override boolean hasBody(); @Override void update(SolGame game); @Override boolean shouldBeRemoved(SolGame game); @Override void onRemove(SolGame game); @Override void receiveDmg(float dmg, SolGame game, Vector2 position, DmgType dmgType); @Override boolean receivesGravity(); @Override void receiveForce(Vector2 force, SolGame game, boolean acc);  }
@Test public void getAngle() { assertEquals(SHARD_CONSTANT.getAngle(), 30f, 0.25f); }