Exemplo n.º 1
0
  @Test
  public void moveBackward_Execute() {

    // Arrange
    mockery.checking(
        new Expectations() {
          {
            oneOf(executionContext).moveBackward();
          }
        });

    // Act
    Instruction.MOVE_BACKWARD.execute(executionContext);

    // Assert
    mockery.assertIsSatisfied();
  }
Exemplo n.º 2
0
 @Test
 public void hashCodeTest() {
   Instruction.MOVE_BACKWARD.hashCode();
 }