public void C_Update() { Project.Data.Repository repo = new Project.Data.Repository(db); int songid = 0; foreach (var i in repo.GetSongs()) { songid = i.Id; } Project.Domain.Song songTest = new Project.Domain.Song() { Id = songid, Title = "Encore", Artist = "Linkin Park", Genre = "Rock", Size = "3.45", Length = "3.7", ReleaseDate = "1993", FilePath = "audio/file" }; repo.UpdateSong(songTest); Assert.Pass(); }