public void ShouldInsertFingerprintInStorage()
        {
            var track          = new TrackData("isrc", "artist", "title", "album", 1986, 200);
            var trackReference = trackDao.InsertTrack(track);

            var fingerprintReference = fingerprintDao.InsertFingerprint(new FingerprintData(GenericFingerprint(), trackReference));

            AssertModelReferenceIsInitialized(fingerprintReference);
        }
示例#2
0
 public IModelReference InsertFingerprint(FingerprintData fingerprint)
 {
     return(fingerprintDao.InsertFingerprint(fingerprint));
 }