I have to the following protected method in my color class and i can't access it in my MSTest Test Project(.NET Core) class how can i get access to this method?
I am using Visual Studio 2019, and I can't change any of the class definitions.
I have tried using PrivateObject
and that didn't work....
"The type or namespace 'PrivateObject' could not be found (are you missing a using directive or an assembly reference?
public class Color : Shape {
protected override IEnumerable<string> GetSizes(string name){
//do stuff
}
}