public void TestMethod1()
    {
        var objForTesting = new TheConsultationClass(new MyTestFactory());
        var consultation1 = new...
                            objForTesting.AddConsultation(consultation1);
        var consultation2 = objForTesting.GetById(...);

        Assert.AreEqual("123", consultation2.X);
    }
Exemplo n.º 2
0
    public void TestMethod1()
    {
        var objForTesting    = new TheConsultationClass(new MyTestFactory());
        var consultationView = new ConsultationView();

        objForTesting.AddConsultation(consultationView, 123);
        var consultation = objForTesting.GetById(...);

        Assert.AreEqual(123, consultation.U_Id);
    }
Exemplo n.º 3
0
    public void TestMethod1()
    {
        var objForTesting = new TheConsultationClass(new MyTestFactory());

        objForTesting.AddConsultation(...);
    }