@Test
void get_all_locations() {

    LocationEntity locationEntity = locationEntity(testLocation);
    when(crudRepository.findAll()).thenReturn(Collections.singletonList(locationEntity));
    assertThat(repository.locations()).containsExactly(testLocation);
}