Minor suggestion: what do you think about this?

```
assertFalse(duration.isEmpty());
```