SensitivityValue { public SensitivityFactor getFactor() { return sensitivityFactor; } @JsonCreator  SensitivityValue(@JsonProperty("factor") SensitivityFactor sensitivityFactor,
                            @JsonProperty("value") double value,
                            @JsonProperty("functionReference") double functionReference,
                            @JsonProperty("variableReference") double variableReference); SensitivityFactor getFactor(); double getValue(); double getFunctionReference(); double getVariableReference();  }
@Test public void getFactor() { SensitivityFactor factor = Mockito.mock(SensitivityFactor.class); SensitivityValue sensitivityValue = new SensitivityValue(factor, 1.f, 2.f, 3.f); assertSame(factor, sensitivityValue.getFactor()); }