EasyMock.expect(trackFactoryMock.getTrack(itThrillerMock)).andReturn(thrillerMock);
EasyMock.expect(trackFactoryMock.getTrack(itBeatItMock)).andReturn(beatItMock);
EasyMock.expect(trackFactoryMock.getTrack(itBillyJeanMock)).andReturn(billyJeanMock);
EasyMock.expect(itTrackCollectionMock.itemByPlayOrder(1)).andReturn(itThrillerMock);
EasyMock.expect(itTrackCollectionMock.itemByPlayOrder(2)).andReturn(itBeatItMock);
EasyMock.expect(itTrackCollectionMock.itemByPlayOrder(3)).andReturn(itBillyJeanMock);
EasyMock.expect(itTrackCollectionMock.getCount()).andReturn(3l).times(4);
EasyMock.replay(libraryMock);
EasyMock.replay(trackFactoryMock);