  @Test
  public void testJpaRepo() {

    String message = "message";
    Hello saveObject = new Hello(0, message);
    when(helloRepoJpaMock.save(any(Hello.class))).thenReturn(saveObject);
    when(helloRepoJpaMock.findById(saveObject.getId())).thenReturn(Optional.of(saveObject));

    assertThat(greetingService.greetFromRepoJpa(), is(message));
    verify(helloRepoJpaMock, times(1)).save(any(Hello.class));
    verify(helloRepoJpaMock, times(1)).findById(saveObject.getId());
    verifyNoMoreInteractions(
        helloRepoMock, helloRepoSearchAndSortingMock, helloRepoJpaMock, helloRepoAnnotationMock);
  }