@Test public void givenResultErrorConstructorWhenCreateWithoutCollectionThenAddNothing() { final ResultError resultError = new ResultError(FILTERARGS.UNITS); assertEquals(0, resultError.getCurrentIds().size()); assertEquals(true, resultError.isError()); }
@Override public boolean isError() { return true; }
ResultError extends Result { @Override public boolean isError() { return true; } }
ResultError extends Result { @Override public boolean isError() { return true; } ResultError(FILTERARGS type);  ResultError(FILTERARGS type, final Set<String> set); }
ResultError extends Result { @Override public boolean isError() { return true; } ResultError(FILTERARGS type);  ResultError(FILTERARGS type, final Set<String> set); @Override boolean isError(); ResultError addError(String error); @Override ResultError putFrom(Result from); }
ResultError extends Result { @Override public boolean isError() { return true; } ResultError(FILTERARGS type);  ResultError(FILTERARGS type, final Set<String> set); @Override boolean isError(); ResultError addError(String error); @Override ResultError putFrom(Result from);  }