public void GenerateIcon_ReturnsExpectedImage(string solutionName, string solutionPath) { var actualPath = ResolveTestPath(solutionName + ".actual.png"); var generator = new IconGenerator(new TinyIdGenerator()); using (var image = generator.GenerateIcon(solutionName, solutionPath, new Size(32, 32))) { image.Save(actualPath, ImageFormat.Png); } AssertImages.Equal(ResolveTestPath(solutionName + ".expected.png"), actualPath); }