Ich habe eine Klasse ClassA mit eigenem Verfahren DoSomething wie diese private bool DoSomething(string id, string name, string location
, DataSet ds, int max, ref int counter)
Die Parameter si
Ich habe diese Klasse: public class MyClass
{
private static int GetMonthsDateDiff(DateTime d1, DateTime d2)
{
// implementatio
}
}
Jetzt bin der Umsetzung I Unit-Test für sie.
verspotten Ich habe diesen Code: [TestMethod]
public void TestMethod()
{
TextBox txtBox= new TextBox() { Text = "Test" };
PrivateObject privateObj= new PrivateObject(someObject)