How to unit test a method having interface as argument?
I need to just test the variable should not accept null values i.e. argument exception. I am new to unit testing so could not get.My Sample Code:
public BooksInfo GetBookInfo(IBookMarket bookinfo)
Here i need to pass null to "bookinfo
" and test exception is raising or not.