song.setMasterBlobRef("Test");
Set<JizzSongEncoding> encodings = new HashSet<>();
song.setEncodings(encodings);
JizzSongEncoding encoding = new JizzSongEncoding();
encoding.setSong(song);
encoding.setFormat(JizzTrackAudioFormat.Format.MP3.name());
encoding.setBitRateKbps(128);
encoding.setBlobRef("encodingBlob1");
encodings.add(encoding);
encoding = new JizzSongEncoding();
encoding.setSong(song);
encoding.setFormat(JizzTrackAudioFormat.Format.MP3.name());
encoding.setBitRateKbps(192);
encoding.setBlobRef("encodingBlob1");
encodings.add(encoding);
return jizzSongJpaDao.createOrUpdateSong(song);
}