Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Created February 8, 2026 22:36
Show Gist options
  • Select an option

  • Save trikitrok/6802f5d095de06bd6405d065553122c9 to your computer and use it in GitHub Desktop.

Select an option

Save trikitrok/6802f5d095de06bd6405d065553122c9 to your computer and use it in GitHub Desktop.
Used to illustrate finding test points
public class Element {
private final String name;
private String text;
public Element(String name) {
this.name = name;
this.text = "";
}
public void addText(String newText) {
this.text += newText;
}
public String getName() {
return this.name;
}
public String getText() {
return this.text;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment