RuntimeFabricDeployment extends AnypointDeployment { public String getTarget() { return target; }  String getTarget(); void setTarget(String targetId); RuntimeFabricDeploymentSettings getDeploymentSettings(); void setDeploymentSettings(RuntimeFabricDeploymentSettings settings); String getProvider(); void setProvider(String provider); void setEnvironmentSpecificValues();  }
@Test public void getTarget() throws DeploymentException { expectedException.expect(DeploymentException.class); expectedException.expectMessage("missing target value"); fabricDeployment.setTarget(null); fabricDeployment.setEnvironmentSpecificValues(); }