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