assertEquals( 2, tracks.size() );
}
public void testFindallWithLimitOfMinusOneMeansNoLimit() throws Exception {
TestDatabase db = new TestDatabase();
db.fixture( "artistsAlbumsAndTracks" );
List<Track> tracks = Track.findAll( db, -1, 0 );
assertEquals( 3, tracks.size() );
}
public void testTracksAreEqualWhenTheyHaveTheSameId() {