EasyMock.expect(this.infoFromID3TagMock.getTrackNumber()).andReturn(1).once();
EasyMock.expect(this.infoFromITunesMock.getTrackNumber()).andReturn(2).once();
}
private void prepareMocksForExceptionAtTrackNumber() {
EasyMock.expect(this.infoFromID3TagMock.getTrackNumber()).andThrow(new ID3NumberFormatException(TEST_EXCEPTION_MSG));
EasyMock.expect(this.infoFromITunesMock.getTrackNumber()).andReturn(1).once();
}