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); }
public IModelReference InsertFingerprint(FingerprintData fingerprint) { return(fingerprintDao.InsertFingerprint(fingerprint)); }