예제 #1
0
  @Test
  public void should_copy_step() throws Exception {
    // given
    final Step step = createStep();

    // when
    final Step stepCopy = step.copy();

    // then
    assertThat(stepCopy).isNotSameAs(step);
    assertThat(stepCopy).isEqualToComparingFieldByField(step);
  }