public void Build_NotDotCoverReport_Svg()
        {
            var target = new CodeCoverageBadgeBuilder(ResourceHelper.GetResource("CodeCoverage-not-DotCover-report.xml"));

            ExceptionAssert.IsThrowing(new InvalidOperationException("Code coverage report file format unsupported. The supported formats are: DotCover"), () =>
            {
                target.Build();
            });
        }
 public void Build_DotCoverWarningStatus_Svg()
 {
     var target = new CodeCoverageBadgeBuilder(ResourceHelper.GetResource("CodeCoverage-DotCover-report-warning.xml"));
     var actual = target.Build();
     Assert.AreEqual(ResourceHelper.GetResource("CodeCoverage-warning.svg"), actual);
 }