chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
+1 vote
Hi please find the below example

Example  class File

Public Class AAAA

{

Public AAAA()

{

    BBBB ex=new BBBB(this);

     Ex.show();    

}

}

Public Class BBBB

{

Public BBBB()

{

    --------

}

}

Testcase

Example.cs

[TestClass]

Public class unittest

{

                [TestMethod]

                public void GenerateReport_Module()

                  {

                                AAAA  UIval=new AAAA();

                                Isolate.WhenCalled(() => UIval. Createval(rArgs)).WithExactArguments()

                    }                         

}

In above test case whenever I am creating AAAA class object means BBBB  UI will show automatically.

So I need to hide BBBB Screen
related to an answer for: Another class UI
asked by gnanam (4.7k points)

Please log in or register to answer this question.

...