MachineSpecificationTest GetSpecificationTest(Context context, Specification specification)
        {
            MachineSpecificationTest specificationTest = new MachineSpecificationTest(specification);

            if (specification.IsIgnored)
            {
                string reason = context.IsIgnored ? "The parent context has the IgnoreAttribute" : "The specification has the IgnoreAttribute";
                specificationTest.Metadata.Add(MetadataKeys.IgnoreReason, reason);
            }

            AddXmlComment(specificationTest, Reflector.Wrap(specification.FieldInfo));

            return(specificationTest);
        }
    MachineSpecificationTest GetSpecificationTest(Context context, Specification specification)
    {
      MachineSpecificationTest specificationTest = new MachineSpecificationTest( specification);

      if (specification.IsIgnored)
      {
        string reason = context.IsIgnored ? "The parent context has the IgnoreAttribute" : "The specification has the IgnoreAttribute";
        specificationTest.Metadata.Add(MetadataKeys.IgnoreReason, reason);
      }

      AddXmlComment(specificationTest, Reflector.Wrap(specification.FieldInfo));

      return specificationTest;
    }