public void SaveAndDeleteTestNew() { // Save new object into DB // Arrange var notificationType = new NotificationType { NotificationTypeId = 999999, CreatedDateTime = DateTime.Now }; // Act var saveResult = notificationTypeRepository.Save(notificationType); // Assert Assert.IsInstanceOfType(saveResult, typeof(NotificationType)); // Delete saved object from DB // Act notificationTypeRepository.Delete(saveResult); // Assert Assert.IsNull(notificationTypeRepository.FindById(999999)); }