Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Magnolia uses JUnit tests and EasyMock for creating unit tests.

EasyMock

Information about EasyMock can be found www.easymock.org

documentation and examples http://www.easymock.org/EasyMock1_2_Java1_3_Documentation.html&nbspImage Added;

we are using version 0.09... is that true?

Magnolia Mocking overview

For testing basic functionality that does depend on itself there is no need to use mock objects we can just test that method functionality straight away, but usually we need to test objects that depend on other objects and there is where we use this mock objects, beware that they can just return what you want but the code behind won't be executed.

...