assertThat( barLoaded.getName() ).isEqualTo( "Goldfisch Bar" );
assertThat( barLoaded.getMusicGenre() ).isNotNull();
assertThat( barLoaded.getMusicGenre().getName() ).isEqualTo( "Classic Rock" );
tx.commit();
session.clear();
tx = session.beginTransaction();
MusicGenre genreLoaded = (MusicGenre) session.load( MusicGenre.class, goldFishBar.getMusicGenre().getId() );
assertThat( genreLoaded.getPlayedIn() ).onProperty( "name" ).containsOnly( "Goldfisch Bar", "Shark Station" );