public void UT_Configuration_GetById() { var configurationRepository = new ConfigurationRepository(); var config = configurationRepository.GetConfigurationById(1); Assert.IsNotNull(config); }
public void UT_Configuration_Create() { var newConfiguration = new Configuration() { ConfigID = 2, ConfigKey = "TEST", ConfigValue = "Ruben" }; var configurationRepository = new ConfigurationRepository(); configurationRepository.SaveOrUpdate(newConfiguration); }