‘Assembly.Namespace(s).ClassName.Private Sub MethodName’ is not accessible in this context because it is ‘Private’
21-Jan-1111 Leave a comment
If when coding a new test you get the following error:
‘Assembly.Namespace(s).ClassName.Private Sub MethodName’ is not accessible in this context because it is ‘Private’
- Go to Method Name for which you wish to create test
- Create a private accessor
- Go to test method you are creating
- Change the type of the object you are creating to ..ClassName_Accessor
- You should now be OK. May need to change some to ..ClassName_Accessory and not others
Good when you know how