// TODO add test methods here.
  // The methods must be annotated with annotation @Test. For example:
  //
  @Test
  public void mechanicTest() {
    repo = ctx.getBean(MechanicRepository.class);
    service = ctx.getBean(SpecialistMechanicService.class);
    Mechanic m = new Mechanic.Builder("Engine").ratings("intermediate").build();
    Mechanic m1 = new Mechanic.Builder("Tyres & Windscreen").ratings("intermediate").build();
    Mechanic m2 = new Mechanic.Builder("windscreen & Glass").ratings("intermediate").build();
    Mechanic m3 = new Mechanic.Builder("Engine").ratings("Professional").build();
    Mechanic m4 = new Mechanic.Builder("Engine").ratings("intermediate").build();

    repo.save(m);
    /*repo.save(m1);
    repo.save(m2);
    repo.save(m3);
    repo.save(m4);*/

    List<Mechanic> specialisMec = service.getSpecialityMechanic("Engine", "intermediate");
    Assert.assertEquals(2, specialisMec.size());
  }
 @AfterMethod
 public void tearDownMethod() throws Exception {
   repo = ctx.getBean(MechanicRepository.class);
   repo.deleteAll();
 }