@Test public void testWithWrongState() throws Exception { ConstraintsModifier constraintsModifier = new ConstraintsModifier(network, config); try { constraintsModifier.looseConstraints("wrongState", violations); fail(); } catch (Throwable e) { } }
public void looseConstraints(String stateId) { looseConstraints(stateId, 0f, false); }
ConstraintsModifier { public void looseConstraints(String stateId) { looseConstraints(stateId, 0f, false); } }
ConstraintsModifier { public void looseConstraints(String stateId) { looseConstraints(stateId, 0f, false); } ConstraintsModifier(Network network);  ConstraintsModifier(Network network, ConstraintsModifierConfig config); }
ConstraintsModifier { public void looseConstraints(String stateId) { looseConstraints(stateId, 0f, false); } ConstraintsModifier(Network network);  ConstraintsModifier(Network network, ConstraintsModifierConfig config); void looseConstraints(String stateId); void looseConstraints(String stateId, float margin); void looseConstraints(String stateId, float margin, boolean applyToBaseCase); void looseConstraints(String stateId, List<LimitViolation> violations); void looseConstraints(String stateId, List<LimitViolation> violations, float margin); void looseConstraints(String stateId, List<LimitViolation> violations, float margin, boolean applyToBaseCase); }
ConstraintsModifier { public void looseConstraints(String stateId) { looseConstraints(stateId, 0f, false); } ConstraintsModifier(Network network);  ConstraintsModifier(Network network, ConstraintsModifierConfig config); void looseConstraints(String stateId); void looseConstraints(String stateId, float margin); void looseConstraints(String stateId, float margin, boolean applyToBaseCase); void looseConstraints(String stateId, List<LimitViolation> violations); void looseConstraints(String stateId, List<LimitViolation> violations, float margin); void looseConstraints(String stateId, List<LimitViolation> violations, float margin, boolean applyToBaseCase);  }