public void ChangeNotificationFrequency() { var testClass = GetTestClass(); var classController = new ClassController(_classLogger); classController.MakeClassAPI(testClass); var classObject = DatabaseConnector.Connector.GetClass(testClass[0].className); Assert.True(classObject.notificationFreq == 3); testClass[0].notificationFreq = 5; classController.ChangeFreqAPI(testClass); classObject = DatabaseConnector.Connector.GetClass(testClass[0].className); Assert.True(classObject.notificationFreq == 5); classController.RemoveClassAPI(testClass); }