private final MemoryDatabase memoryDatabase = new MemoryDatabase(null, null);
@Test
public void testBasicAlbumFunctionality() {
Album newAlbum = new AlbumImpl();
assertThat(memoryDatabase.getAlbum(newAlbum.getId()), is(Optional.<Album>absent()));
memoryDatabase.storeAlbum(newAlbum);
assertThat(memoryDatabase.getAlbum(newAlbum.getId()), is(of(newAlbum)));
memoryDatabase.removeAlbum(newAlbum);
assertThat(memoryDatabase.getAlbum(newAlbum.getId()), is(Optional.<Album>absent()));
}