@Test
public void should_find_build() throws HudsonBuildNotFoundException, HudsonJobNotFoundException {

    when(hudsonFinder.find(anyString(), anyInt())).thenReturn(new HudsonBuild());
    HudsonBuild build = hudson.findBuild("projectName", 5);
    assertNotNull(build);
}