Open mdutoo opened 12 years ago
A test using Mockito has been added in easysoa-registry-api-frascati project (see https://github.com/easysoa/EasySOA/blob/master/easysoa-registry/easysoa-registry-api/easysoa-registry-api-frascati/src/test/java/org/easysoa/sca/frascati/ApiFrascatiImportServiceTest.java).
This test use the mockito spy functionnality to check if mock services methods are well called.
Write a testing & mocking framework allowing to simulate services and check on information that is provided in calls to them, in two ways :