### Question:
NodeServiceImpl extends ServiceSupport implements NodeService { public Node getMasterNode() { Node masterNode = getHudson(); this.security.checkPermission(masterNode, Permission.READ); return masterNode; } @Inject  NodeServiceImpl(final SecurityService security); Node getNode(String nodeName); Node findNode(final String nodeName); Node getMasterNode(); List<Node> getAllNodes(); List<Node> getNodes(); Node getCurrentNode();  }### Answer:
@Test public void getMasterNodeIsHudson() { Node masterNode = hudson; assertThat(getInst().getMasterNode(), equalTo(masterNode)); }