Exemplo n.º 1
0
  @Test
  public void shouldDoNothingIfAlreadyRaised() {
    // Preconditions
    lifter.raise();
    lifter.assertRaised();

    command.step(0);
    lifter.assertRaised();
  }
Exemplo n.º 2
0
  @Test
  public void shouldRaiseRampWhenDown() {
    // Preconditions
    lifter.lower();
    lifter.assertLowered();

    command.step(0);
    lifter.assertRaised();
  }