[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field)]public class VisibleForTestOnly:Attribute
Marker Attribute to indicate a Method/Class/Property has been made more visible for purpose of testing.
Mark the member as internal and make the testing assembly a friend using
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["The `VisibleForTestOnly` attribute is used to mark classes, methods, properties, or fields that have been made more visible specifically for testing purposes."],["To use `VisibleForTestOnly`, mark the member as internal and make the testing assembly a friend assembly using `[assembly: InternalsVisibleTo(\"Full.Name.Of.Testing.Assembly\")]`."],["`VisibleForTestOnly` inherits from the `Attribute` class, which itself inherits from the base `object` class."],["This page provides the available versions for the namespace Google.Apis.Testing, with the latest version being 1.69.0."],["This page lists several inherited methods from the Attribute class that are used for attribute operations, such as getting custom attributes and checking if an attribute is defined, along with other methods from the object class."]]],[]]