ValidationStatus implements Serializable { public void addFailures(ValidationStatus other) { this.kills += other.kills; this.aborts += other.aborts; this.gotos += other.gotos; this.skips += other.skips; this.skipGroups += other.skipGroups; this.restarts += other.restarts; } ValidationStatus();  ValidationStatus(int kills, int aborts, int gotos, int skips, int skipGroups, int restarts); int getTotal(); int getValidationKills(); int getValidationAborts(); int getValidationGotos(); int getValidationSkips(); int getValidationSkipGroups(); int getValidationRestarts(); void addFailures(ValidationStatus other); void addKill(); void addAbort(); void addGoto(); void addSkip(); void addSkipGroup(); void addRestart(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testAddFailures_1() throws Exception { ValidationStatus fixture = new ValidationStatus(1, 1, 1, 1, 1, 1); ValidationStatus other = new ValidationStatus(1, 1, 1, 1, 1, 1); fixture.addFailures(other); }