@Test
public void build_time_should_always_be_set() throws Exception {

    SoftwareProjectId softwareProjectId = new SoftwareProjectId("projectId");
    BuildTime buildTime = sonar.getBuildTime(softwareProjectId, 1);
    assertNotNull(buildTime);
    assertNotNull(buildTime.getStartTime());
    assertTrue(buildTime.getDuration() > 0);
}