### Question:
AddMashine { public Long getSum() { return value; } AddMashine(Long initialValue); void add(Long value); void sub(Long value); Long getSum(); BigDecimal getAverage();  }### Answer:
@Test public void initalValuueIsSameAsInputTest() { long anyInput = 1000; AddMashine sut = new AddMashine(anyInput); assertThat(sut.getSum(),is(anyInput)); }