GuidProviderAwareTrait::getGuidProvider throws BadMethodCallException if guidProvider is not set