Conversion from JMock to Mockito

Dibatalkan Dipasang 7 tahun yang lalu Dibayar saat pengiriman
Dibatalkan Dibayar saat pengiriman

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

ID Proyek: #11128887

Tentang proyek

3 proposal Proyek online Aktif 7 tahun yang lalu

3 freelancer rata-rata menawar $15 untuk pekerjaan ini

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 Lebih banyak

$15 USD dalam 1 hari
(14 Ulasan)
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 Lebih banyak

$15 USD dalam 2 hari
(1 Ulasan)
0.4