public void testNullSprite() {
   SetGhostEffectAction action = ExtendedActions.setGhostEffect(null, effectValue);
   try {
     action.act(1.0f);
     fail(
         "Execution of SetGhostEffectBrick with null Sprite did not cause a NullPointerException to be thrown");
   } catch (NullPointerException expected) {
     // expected behavior
   }
 }
 public void testGhostEffect() {
   Sprite sprite = new Sprite("testSprite");
   assertEquals("Unexpected initial sprite scale value", 1f, sprite.look.getAlphaValue());
   SetGhostEffectAction action = ExtendedActions.setGhostEffect(sprite, effectValue);
   action.act(1.0f);
   assertEquals(
       "Incorrect sprite scale value after SetGhostEffectBrick executed",
       (100 - effectValue.interpretFloat(sprite)) / 100,
       sprite.look.getAlphaValue());
 }