Last active
February 6, 2018 16:35
-
-
Save iamsurya-dev/f6b8beb6a2b2355d0bc223b320efa2c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class People { | |
public String getName() { | |
return PersonUtil.getPerson(); | |
} | |
} | |
// Util Class that does something | |
public class PersonUtil { | |
// This is the static function that we gotta mock | |
public static People getPerson() { | |
return "Surya"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment