SCJP , SCWCD , SCBCD , SCDJWS
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
SCJP , SCWCD , SCBCD , SCDJWS
Originally posted by Arundhathi Menon:
1)WebClient is an abstract class hence the below way of calling the metod fails as setProxyServer is not a static function either.
2)I cannot extend my testcase class from WebClient as it already extends TestCase
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
SCJP , SCWCD , SCBCD , SCDJWS
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
SCJP , SCWCD , SCBCD , SCDJWS
Consider Paul's rocket mass heater. |