public void PrivateFieldNegative()
        {
            RecipeDetail detail1 = new RecipeDetail(true, "Toffee");
            detail1.Ingredient = "Crunchy Chocolate";

            RecipeDetail detail2 = new RecipeDetail(true, "Crunchy Frogs");
            detail2.Ingredient = "Crunchy Chocolate";

            _compare.ComparePrivateFields = true;
            Assert.IsFalse(_compare.Compare(detail1, detail2));
            _compare.ComparePrivateFields = false;
        }
        public void IgnoreReadOnlyNegative()
        {
            RecipeDetail detail1 = new RecipeDetail(true, "Toffee");
            detail1.Ingredient = "Crunchy Chocolate";

            RecipeDetail detail2 = new RecipeDetail(false, "Toffee");
            detail2.Ingredient = "Crunchy Chocolate";

            Assert.IsFalse(_compare.Compare(detail1, detail2));
        }
        public void PrivatePropertyPositive()
        {
            RecipeDetail detail1 = new RecipeDetail(true, "Toffee");
            detail1.Ingredient = "Crunchy Chocolate";

            RecipeDetail detail2 = new RecipeDetail(true, "Toffee");
            detail2.Ingredient = "Crunchy Chocolate";

            _compare.ComparePrivateProperties = true;
            Assert.IsTrue(_compare.Compare(detail1, detail2));
            _compare.ComparePrivateProperties = false;
        }