# - Act -

In this section we execute the [unit of code](https://blog.fiftywords.co/unit-of-code) that we're going to test through its [entry point](https://blog.fiftywords.co/entry-point) by using the required parameters to simulate the situation we're going to verify in the [unit test](https://blog.fiftywords.co/unit-test).

```ts
test("the airplane state should be FLYING after takeoff", () => {
  /// Arrange
  const fakeEngine: IEngine = new FakeEngine();
  const fakeFuelTank: ITank = new FakeTank();
  const airplane: Airplane = new Airplane(fakeEngine, fakeFuelTank);

  /**
   * Notice that we clearly mark the Act section
   * and we invoke the unit of code we're going to
   * test
   */

  /// Act
  airplane.takeoff();

  /// Rest of the test
});
```
[🇨🇴 Versión en Español](https://blog.cincuentapalabras.co/actuar)
