public async void Delete_ValidId() { //ARRANGE: authenticate user MyUser user = fixture.Authenticate_User("Anabela"); //ARRANGE: Get a valid and existing privateSongId string privateSongId = MySqlHelpers.GetRandomUserPrivateSongId(user.UserName); //ACT: string responseContentString = await Delete_Act(privateSongId, HttpStatusCode.OK); //ASSERT: Correct Response Object PrivateSongBasicVM responseObject = JsonConvert.DeserializeObject <PrivateSongBasicVM>(responseContentString); Assert.Null(responseObject.Name); Assert.Equal(privateSongId, responseObject.PrivateSongId); Assert.True(Guid.TryParse(responseObject.SongId, out Guid auxSongId)); //ASSERT: Correct Database State Assert.True(MySqlHelpers.CheckIfPrivateSongWasDeleted(privateSongId)); }