public void Check_Customer_Place() { //arrange Kustia_Trading_Agency_Management_BL kta_bl = new Kustia_Trading_Agency_Management_BL(); Kustia_Trading_Agency_Management_Entity information1 = new Kustia_Trading_Agency_Management_Entity(); information1.cus_name = "Arpon"; //act string n = kta_bl.destination(information1); //assertS Assert.AreEqual("Khulna", n); }
void destination() { try { Kustia_Trading_Agency_Management_BL kta_bl = new Kustia_Trading_Agency_Management_BL(); Kustia_Trading_Agency_Management_Entity information1 = new Kustia_Trading_Agency_Management_Entity(); information1.cus_name = comboBox4.Text; string n = kta_bl.destination(information1); textBox5.Text = n; } catch (Exception ex) { Console.WriteLine(ex); } }