0

c# how to unit test this kindof method

public void getPlayer() { combobox.Item.Add("Kobe"); } i mean it doesnt return anything. and im just wondering how to deal with a method without return type.

25th Apr 2017, 12:01 PM
Tracyzhao
Tracyzhao - avatar
2 Respostas
0
do you mean: how can a void method be useful in programming?
28th Apr 2017, 11:52 PM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar
0
@GT i mean TDD. Test Driven Design. How to unit test a method like this.
28th Apr 2017, 11:54 PM
Tracyzhao
Tracyzhao - avatar