4950515253545556
} @Test public void getByExistingGidReturnsOneArtist() { UUID gid = UUID.fromString("994fcd41-2831-4318-9825-66bacbcf2cfe"); Artist artist = dao.getByGid(gid); assertThat(artist.getName(), is("Q and Not U")); }
5657585960616263
} @Test public void getByNotExistingGidReturnsNull() { UUID gid = UUID.fromString("b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d"); Artist artist = dao.getByGid(gid); assertThat(artist, is(nullValue())); }
6364656667686970
} @Test public void getByExistingRedirectedGidReturnsOneArtist() { UUID gid = UUID.fromString("a934e33f-b3cb-47dd-9638-f7f1f25fe162"); Artist artist = dao.getByGid(gid); assertThat(artist.getName(), is("Q and Not U")); }
7071727374757677
} @Test public void getByExistingGidReturnsOneArtistThatHasNoRedirectedGids() { UUID gid = UUID.fromString("194fcd41-2831-4318-9825-66bacbcf2cfe"); Artist artist = dao.getByGid(gid); assertThat(artist.getName(), is("Mono")); }