public function testCaseAllIsStateMethods_CallsModelMethod($state)
{
$test = $this->getTest();
$bool = true;
$method = 'is' . ucfirst($state);
$model = $test->getMock(RuntimeModel::class, [], [], '', false);
$model->expects($test->once())->method($method)->will($test->returnValue($bool));
$runtime = $this->createRuntime();
$test->setProtectedProperty($runtime, 'model', $model);
$result = call_user_func([$runtime, $method]);
$test->assertSame($bool, $result);
}