[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-21 UTC."],[[["The `VisibleForTestOnly` attribute is used to mark classes, methods, properties, or fields that are made more visible specifically for testing purposes."],["Members marked with `VisibleForTestOnly` should be made internal, and the testing assembly should be designated as a friend using `[assembly: InternalsVisibleTo(\"Full.Name.Of.Testing.Assembly\")]`."],["The latest version of the google.apis package is 1.69.0, and multiple older versions are available, including version 1.55.0 which this documentation page covers."],["The `VisibleForTestOnly` attribute inherits from the `Attribute` class, which itself inherits from `Object`, providing various inherited members for attribute manipulation."]]],[]]