How long does the training course last?

 1,00 day(s)

In which language(s) is the training course taught?

EN FR

When will the next session take place?

 17.11.2026
Where does the training course take place?
 En distanciel

How much does the training course cost?

790,00€

Who is organising this training course?

OXiane specializes in designing and delivering IT training courses and educational materials on the latest technologies. Our various programs cover all training needs, whether in IT in the broad sense, or in “User” and “Soft Skills” in Management, Communication & Leadership.

Who is the training course aimed at?

Développeurs Java

What are the aims or the skills being targeted?

  • Comprendre l'utilisation des mocks
  • Savoir écrire des mocks Mockito

What does the training course cover?

Introduction
  • Test unitaire et isolation
  • Qu’est ce qu’un Mock?
  • TP 1: isoler ses objets à tester
  • Doublures, simulacres & Co
  • Les différents types de Mock
  • Dummy, Stub, Fake, Spy et Mock
  • Mock statique ou dynamique
  • Intérêts d’un framework de Mock
  • Ecrire des objets testables
Mockito: les bases
  • Configuration
  • Principe de fonctionnement
  • TP 2: mettre en œuvre Mockito
  • Mock et valeur de retour
  • Méthode avec paramètres
  • Correspondance des arguments (Argument Matching)
  • TP 3: mocker des méthodes simples
  • Annotation @Mock
  • Annotation @InjectMocks
  • TP 4: injection facilitée
  • Mieux simuler la réponse (Answer)
  • TP 5: mocker des cas plus complexes
  • Méthode avec exception
  • Méthode void
  • Tp 6: mocker les cas spéciaux
Mockito: aspects avancés
  • Vérification
  • Contrôler l’ordre des appels
  • TP 7: vérifications
  • Spy
  • Argument Captor
  • Mock partiel
  • Configuration avancée (DEEP STUB…)
  • TP 8: vérifications avancées
  • Limitations de Mockito

What will you receive at the end of the training course?

Une attestation de participation sera transmise aux participants

When will the next session take place?

    Datum
    City
    Language and price
  • 17.11.2026
    En distanciel
    FR 790,00€

These courses might interest you

FR
Day
Blended-Learning
Software - Macpaint software - Macdraw software - E-commerce content management software - PrestaShop software
03.12.2026
FR
Day
Blended-Learning
Software - Framework - Angular framework
15.12.2026