Ship shipFactory = w.createFactory(Ship.class);
assertNotNull(shipFactory);
assertEquals(ShipImpl.class, shipFactory.getClass());
shipFactory.hitPoints(100);
Entity e1 = shipFactory.size(10, 20).create();
Entity e2 = shipFactory.create();
assertEquals(10, e1.getComponent(Size.class).width, 0.001f);