@Test
  public void itShouldSetCurrentViewStructureFromCache() {
    // when
    String key = "view";

    String value = "value";
    cache.setCurrentViewStructure(key, value);

    // then

    verify(repository).set(key, value);
  }
  @Test
  public void itShouldGetCurrentViewStructureFromCache() {
    // when
    String key = "view";

    String value = "value";
    when(repository.get(key)).thenReturn(value);
    String currentViewStructure = cache.getCurrentViewStructure();

    // then

    verify(repository).get(key);
    assertThat(currentViewStructure).isEqualTo(value);
  }