class SonarConnection implements MetricCapability, TestCapability {

    public BuildTime getBuildTime(SoftwareProjectId softwareProjectId, Integer buildId) throws BuildNotFoundException,
            ProjectNotFoundException {
        checkConnected();
        checkSoftwareProjectId(softwareProjectId);
        BuildTime buildTime = new BuildTime();
        buildTime.setDuration(1);
        buildTime.setStartTime(new Date());
        return buildTime;
    }

    public  SonarConnection();

}