public void Constructor() { //---------------Set up test pack------------------- //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var thuriaSettings = new ThuriaSettings(); //---------------Test Result ----------------------- Assert.IsNotNull(thuriaSettings); }
public void ApplicationName_GivenStartDebugMode_ShouldReturnValue() { //---------------Set up test pack------------------- var thuriaSettings = new ThuriaSettings(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var settingsValue = thuriaSettings.StartDebugMode; //---------------Test Result ----------------------- Assert.That(settingsValue, Is.False); }
public void ApplicationName_GivenApplicationNameExists_ShouldReturnValue() { //---------------Set up test pack------------------- var expectedApplicationName = "SettingsTests"; var thuriaSettings = new ThuriaSettings(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var settingsApplicationName = thuriaSettings.ApplicationName; //---------------Test Result ----------------------- Assert.That(settingsApplicationName, Is.EqualTo(expectedApplicationName)); }