World w = new World();
w.initialize();
Ship shipFactory = w.createFactory(Ship.class);
Entity e1 = shipFactory.hitPoints(100).create();
Entity e2 = shipFactory.copy().hitPoints(200).create();
assertEquals(100, e1.getComponent(HitPoints.class).hitpoints);
assertEquals(200, e2.getComponent(HitPoints.class).hitpoints);
}