public void InitializeSetsNullVersionIfBuildRootInfoNull()
 {
     var source = new BuildInfoConfigComponentVersionTelemetryInitializer();
     var requestTelemetry = new RequestTelemetry();
     source.Initialize(requestTelemetry);
     
     Assert.IsNull(requestTelemetry.Context.Component.Version);
 }
        public void InitializeSetsNullVersionIfBuildRootInfoNull()
        {
            var source           = new BuildInfoConfigComponentVersionTelemetryInitializer();
            var requestTelemetry = new RequestTelemetry();

            source.Initialize(requestTelemetry);

            Assert.IsNull(requestTelemetry.Context.Component.Version);
        }
 public void InitializeDoesNotThrowIfFileDoesNotExist()
 {
     var source = new BuildInfoConfigComponentVersionTelemetryInitializer();
     source.Initialize(new RequestTelemetry());
 }
        public void InitializeDoesNotThrowIfFileDoesNotExist()
        {
            var source = new BuildInfoConfigComponentVersionTelemetryInitializer();

            source.Initialize(new RequestTelemetry());
        }