/// <summary> /// Gets the options that determine the default display formatting options for test methods. If no options are not present, /// returns the default value (<see cref="TestMethodDisplayOptions.None"/>). /// </summary> public static TestMethodDisplayOptions MethodDisplayOptionsOrDefault(this _ITestFrameworkDiscoveryOptions discoveryOptions) { Guard.ArgumentNotNull(nameof(discoveryOptions), discoveryOptions); return(discoveryOptions.MethodDisplayOptions() ?? TestMethodDisplayOptions.None); }