Mock Github client.
This is how you use it:
Github github = new MkGithub(new MkStorage.InFile(file), "jeff"); github.repos().create("jcabi/jcabi-github"); Repo repo = github.repos().get("jcabi/jcabi-github"); Issues issues = repo.issues(); Issue issue = issues.post("issue title", "issue body");
By default, it works with a temporary file, which will be deleted on JVM exit:
Github github = new MkGithub("jeff");
@author Yegor Bugayenko (yegor@tpc2.com)
@version $Id$
@since 0.5
@checkstyle ClassDataAbstractionCoupling (500 lines)