public void NetworkTypeIsNullByDefaultToPreventUnnecessaryTransmissionOfDefaultValue()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     Assert.Null(context.NetworkType);
 }
 public void DeviceModelIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     Assert.Null(context.Model);
 }
 public void DeviceModelCanBeChangedByUserToSpecifyACustomValue()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     context.Model = "test value";
     Assert.Equal("test value", context.Model);
 }
 public void OperatingSystemIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     Assert.Null(context.OperatingSystem);
 }
 public void OperatingSystemCanBeChangedByUserToSpecifyACustomValue()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     context.OperatingSystem = "test value";
     Assert.Equal("test value", context.OperatingSystem);
 }
 public void RoleInstanceIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     Assert.Null(context.RoleInstance);
 }
        public void RoleInstanceCanBeChangedByUserSpecifyACustomValue()
        {
            var context = new DeviceContext(new Dictionary<string, string>());
            context.RoleInstance = "Testing role name";

            Assert.Equal("Testing role name", context.RoleInstance);
        }
 public void ScreenResolutionIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     Assert.Null(context.ScreenResolution);
 }
 public void ScreenResolutionCanBeChangedByUserToSpecifyACustomValue()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     context.ScreenResolution = "test value";
     Assert.Equal("test value", context.ScreenResolution);
 }
        public void DeviceModelIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
        {
            var context = new DeviceContext(new Dictionary <string, string>());

            Assert.Null(context.Model);
        }
 public void NetworkTypeCanBeChangedByUserToSpecifyACustomValue()
 {
     var context = new DeviceContext(new Dictionary<string, string>());
     context.NetworkType = "42";
     Assert.Equal("42", context.NetworkType);
 }
        public void OperatingSystemIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
        {
            var context = new DeviceContext(new Dictionary <string, string>());

            Assert.Null(context.OperatingSystem);
        }
        public void ScreenResolutionIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
        {
            var context = new DeviceContext(new Dictionary <string, string>());

            Assert.Null(context.ScreenResolution);
        }
        public void NetworkTypeIsNullByDefaultToPreventUnnecessaryTransmissionOfDefaultValue()
        {
            var context = new DeviceContext(new Dictionary <string, string>());

            Assert.Null(context.NetworkType);
        }
        public void RoleInstanceIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
        {
            var context = new DeviceContext(new Dictionary<string, string>());
#pragma warning disable 618
            Assert.Null(context.RoleInstance);
#pragma warning restore 618
        }
        public void RoleNameCanBeChangedByUserSpecifyACustomValue()
        {
            var context = new DeviceContext(new Dictionary<string, string>());
#pragma warning disable 618
            context.RoleName = "Testing role name";

            Assert.Equal("Testing role name", context.RoleName);
#pragma warning restore 618
        }