Refactor assumeQuality method