Skip to content

Instantly share code, notes, and snippets.

@AlfredoCasado
Created November 29, 2010 13:05
Show Gist options
  • Save AlfredoCasado/719922 to your computer and use it in GitHub Desktop.
Save AlfredoCasado/719922 to your computer and use it in GitHub Desktop.
String mensaje = "El usuario Alfredo Casado tiene el dni: 123456798P";
assertTrue(mensaje.contains("Alfredo Casado"));
assertTrue(mensaje.contains("123456798P"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment