Inheritance: SimpleDigitalCamera
 public void TestNightPicture() {
     Image image = Image.FromFile("../../../../test/resources/VanGoghStarryNight.jpg");
     DigitalCameraMock cameraMock = new DigitalCameraMock();
     cameraMock.TestImage = image;
     PerfectPicture.camera = cameraMock;
     Assert.AreSame(image, new PerfectPicture().TakePerfectPicture(0));
     Assert.AreEqual(1, cameraMock.FlashOnCounter);
 }
        public void TestNightPicture()
        {
            Image             image      = Image.FromFile("../../../../test/resources/VanGoghStarryNight.jpg");
            DigitalCameraMock cameraMock = new DigitalCameraMock();

            cameraMock.TestImage  = image;
            PerfectPicture.camera = cameraMock;
            Assert.AreSame(image, new PerfectPicture().TakePerfectPicture(0));
            Assert.AreEqual(1, cameraMock.FlashOnCounter);
        }