@Test public void test() { SatConstraint c = Mockito.mock(SatConstraint.class); Action a = Mockito.mock(Action.class); ContinuousViolationException ex = new ContinuousViolationException(c, a); Assert.assertEquals(ex.getAction(), a); Assert.assertEquals(ex.getConstraint(), c); Assert.assertFalse(ex.toString().contains("null")); }
public Action getAction() { return action; }
ContinuousViolationException extends SatConstraintViolationException { public Action getAction() { return action; } }
ContinuousViolationException extends SatConstraintViolationException { public Action getAction() { return action; } ContinuousViolationException(SatConstraint cstr, Action action); }
ContinuousViolationException extends SatConstraintViolationException { public Action getAction() { return action; } ContinuousViolationException(SatConstraint cstr, Action action); Action getAction(); }
ContinuousViolationException extends SatConstraintViolationException { public Action getAction() { return action; } ContinuousViolationException(SatConstraint cstr, Action action); Action getAction();  }