package Test::APIcast::Blackbox;
use strict;
use warnings FATAL => 'all';
use v5.10.1;
use JSON;
use Test::APIcast -Base;
use File::Copy "move";
use File::Temp qw/ tempfile /;
use File::Slurp qw(read
erverPort;
}
_EOC_
}
my $configuration_format = $block->configuration_format || 'json';
if (defined $configuration) {
$configuration = Test::Nginx::Util::expand_env_in_co
::fail("$name - configuration block JSON") || Test::More::diag $_[0];
};
if ($configuration_format eq 'json') {
decode_json($configuration);
}