assertTableSize( db, "tracks", 0 );
}
public void testDoesNotRemoveArtistsWithTracks() throws Exception {
final TestDatabase db = new TestDatabase();
final DBCollectionManager cm = new DBCollectionManager( db, p, indexer );
// Should not delete an Artist that has Tracks referencing it
db.fixture( "artistsWithTracks" );
assertTableSize( db, "artists", 1 );
assertTableSize( db, "albums", 0 );
assertTableSize( db, "tracks", 1 );