This line will never be called. If you want to stop the container properly, should do:

```
try {
  // your assertions
} finally {
  container.stop();
}
```