/**
* @throws Exception
*/
@Before
public void setUp() throws Exception {
this.controller = new ApplicationScmController();
MockitoAnnotations.initMocks(this);
when(applicationService.findOne(anyLong())).thenReturn(application);
when(applicationService.findOneWithScm(anyLong())).thenReturn(application);
when(sitemap.getNode(anyString())).thenReturn(node);
when(gitHub.repoOperations()).thenReturn(repoOperations);