/// <summary> /// Gets a flag that determines the default display name format for test methods. If the flag is not present, /// returns the default value (<see cref="TestMethodDisplay.ClassAndMethod"/>). /// </summary> public static TestMethodDisplay MethodDisplayOrDefault(this _ITestFrameworkDiscoveryOptions discoveryOptions) { Guard.ArgumentNotNull(nameof(discoveryOptions), discoveryOptions); return(discoveryOptions.MethodDisplay() ?? TestMethodDisplay.ClassAndMethod); }