import org.spout.api.entity.Entity;
import org.spout.api.entity.Player;
public class EntityMocker {
public static Player mockPlayer() {
Engine engine = EngineFaker.setupEngine();
final Player player = Mockito.mock(Player.class);
final EntityComponentAnswer componentHolder = new EntityComponentAnswer(player);
componentHolder.add(NetworkComponent.class);