Conversion from JMock to Mockito

Storniert Veröffentlicht vor 7 Jahren Bezahlt bei Lieferung
Storniert Bezahlt bei Lieferung

I have a single JUnit test class, containing JMock tests. I need these to be converted to Mockito. The attached file contains partial, sample code for one of the test methods, and names of other test methods that illustrate the kind of testing that they do.

Java

Projekt-ID: #11128887

Über das Projekt

3 Vorschläge Remote Projekt Aktiv vor 7 Jahren

3 Freelancer bieten im Durchschnitt $15 für diesen Job

imanolie

Hi there, I am an experienced java developer with more than 3 years experience in the enterprise field. I have worked mainly creating financial solutions for the biggest banks in the world. My experience consists i Mehr

$15 USD in 1 Tag
(14 Bewertungen)
5.0
paulhawke

Your example wires up a mock but doesn't configure any actual behavior. Translating what you have in the text file over to Mockito (just declaring mocks) is trivial, to be perfectly honest. The more interesting thing Mehr

$15 USD in 2 Tagen
(1 Bewertung)
0.4