verytime it is called
]
]
]

---
# Test code evaluation

.seventy-two-left[
```scala
test("a lazy val is only evaluated when first accessed") {
  // ...
}
```
]


---
# Test code evaluation

.seventy-two-left[
```scala
test("a lazy val is only evaluated when first accessed") {
  var counter = 0

  lazy val action = counter += 1
}
```
]

---
# Test code evaluation

.seventy-two-left[
```scala
test("a lazy val is only evaluated when first accessed") {
  var counter = 0

  lazy val action = counter += 1
  asse