class A {
    public void demo(String val){
        if ("test1".equals(val)){
            //do somethign
        } else if (<selection>"test2"</selection>.equals(val)) {
            //... something else
        }
    }
}
