stubbed EntityFactory.