public function testApiIsDestroyed_ReturnsTrue_WhenStateDoesMatch()
{
$runtime = $this->createModel();
$states = [Runtime::STATE_DESTROYED];
foreach ($states as $state) {
$runtime->setState($state);
$this->assertTrue($runtime->isDestroyed());
}
}