public void WithApplicationNameAllowsOverwritingWithNull()
        {
            // given
            var target = new DynatraceOpenKitBuilder(EndpointUrl, ApplicationId, DeviceId);

            target.WithApplicationName(ApplicationName); // initialize with non-null value

            // when
            target.WithApplicationName(null);

            // then
            Assert.That(target.ApplicationName, Is.Null);
        }
        public void ApplicationNameGivesPreviouslySetApplicationName()
        {
            // given
            var target = new DynatraceOpenKitBuilder(EndpointUrl, ApplicationId, DeviceId);

            // when
            target.WithApplicationName(ApplicationName);
            var obtained = target.ApplicationName;

            // then
            Assert.That(obtained, Is.EqualTo(ApplicationName));
        }