Forum Stats

  • 3,734,715 Users
  • 2,247,030 Discussions
  • 7,857,465 Comments

Discussions

JUnit tests on third-party jar

user7738384
user7738384 Member Posts: 1

Hi,

I want to perform some unit tests with junit on a third-party jar (I have only the jar and the javadoc, no source code).

I would like to simulate some API behaviours by calling some methods declared in the third-party jar.

For example:

SomeClass.getInstance().someMethod().getValue()

Have someone already done something like that?

Thanks

Tagged:
This discussion has been closed.