Program: 31371
Project: 31371
Buggy source:
/** 
 * Test of validatePasswordStrength method, of class org.owasp.esapi.Authenticator.
 * @throws AuthenticationException the authentication exception
 */
public void testValidatePasswordStrength() throws AuthenticationException {
  System.out.println("String_Node_Str");
  Authenticator instance=ESAPI.authenticator();
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
  instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
  instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
  instance.verifyPasswordStrength("String_Node_Str",instance.generateStrongPassword());
}

Fixed version (ground truth):
/** 
 * Test of validatePasswordStrength method, of class org.owasp.esapi.Authenticator.
 * @throws AuthenticationException the authentication exception
 */
public void testValidatePasswordStrength() throws AuthenticationException {
  System.out.println("String_Node_Str");
  Authenticator instance=ESAPI.authenticator();
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  try {
    instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
    fail();
  }
 catch (  AuthenticationException e) {
  }
  instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
  instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
  instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
  instance.verifyPasswordStrength("String_Node_Str",instance.generateStrongPassword());
  instance.verifyPasswordStrength("String_Node_Str","String_Node_Str");
}