private static bool IsDoesContain(ConstraintPartExpression constraintPart)
 {
     return(constraintPart.GetConstraintName() == NunitFrameworkConstants.NameOfDoesContain);
 }
 private static bool IsContainsItem(ConstraintPartExpression constraintPart)
 {
     return(constraintPart.GetHelperClassName() == NunitFrameworkConstants.NameOfContains &&
            constraintPart.GetConstraintName() == NunitFrameworkConstants.NameOfContainsItem);
 }
 private static string ConstraintDiagnosticDescription(ConstraintPartExpression constraintPart)
 {
     return(constraintPart.GetHelperClassName() != null
         ? $"{constraintPart.GetHelperClassName()}.{constraintPart.GetConstraintName()}"
         : (constraintPart.GetConstraintName() ?? ""));
 }