public function testApiCritical_CallsMethodOnModel()
{
$logger = $this->createLoggerMock();
$message = 'message';
$context = ['a' => 'A'];
$result = true;
$this->expect('critical', [$message, $context])->willReturn($result);
$this->assertSame($result, $logger->critical($message, $context));
}