overrideConfigValue( 'EchoEnablePush', true ); $params = [ 'action' => 'echopushsubscriptions', 'command' => 'create', 'platform' => 'apns', 'platformtoken' => 'ABC123', ]; $this->expectException( ApiUsageException::class ); $this->doApiRequest( $params ); } }