@Test
public void should_get_is_building() throws Exception {

    TeamCityBuild build = new TeamCityBuild();
    build.setRunning(true);
    build.setId("1");
    TeamCityBuildType buildType = new TeamCityBuildType();
    buildType.setId("projectId");
    build.setBuildType(buildType);
    when(teamCity.findRunningBuild()).thenReturn(build);
    boolean isBuilding = teamCityConnection.isBuilding(softwareProjectId(), "1");
    assertTrue(isBuilding);
}