Conversion from JMock to Mockito

Anulowany Opublikowano 7 lat temu Płatność przy odbiorze
Anulowany Płatność przy odbiorze

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

Numer ID Projektu: #11128887

O projekcie

3 ofert Zdalny projekt Aktywny 7 lat temu

3 freelancerów złożyło ofertę za $15 w tym projekcie

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 Więcej

$15 USD w ciągu 1 dnia
(14 Oceny)
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 Więcej

$15 USD w ciągu 2 dni
(1 Ocena)
0.4