/// <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 GetMethodDisplayOrDefault(this _ITestFrameworkDiscoveryOptions discoveryOptions) { Guard.ArgumentNotNull(discoveryOptions); return(discoveryOptions.GetMethodDisplay() ?? TestMethodDisplay.ClassAndMethod); }