package cucumber.demo;

public class Hello {
    public String greet(String who, String from) {
        return "Hi, " + who + ". I'm " + from;
    }
    
    public boolean isFriend(String who) {
        return true;
    }
    
    public String getPhoneNumber(String who) {
        return "99999";
    }
}
package cucumber.demo;

public class Hello {
    public String greet(String who, String from) {
        return "Hi, " + who + ". I'm " + from;
    }
    
    public boolean isFriend(String who) {
        return true;
    }
    
    public String getPhoneNumber(String who) {
        throw new RuntimeException("My phone is secret!");
    }
}
Make java example fail. More fun.
Make java example fail. More fun.
