### Question:
TransactionalPluginBranchService implements PluginBranchService { @Override public Branch get(Long id) throws NotFoundException { return branchService.get(id); } private  TransactionalPluginBranchService(); static PluginBranchService getInstance(); @Override Branch get(Long id); void setBranchService(PluginBranchService branchService);  }### Answer:
@Test public void testGet() throws Exception { Branch branch = new Branch("name", "description"); when(branchService.get(1L)).thenReturn(branch); Branch actual = TransactionalPluginBranchService.getInstance().get(1L); assertEquals(actual, branch); }