mirrored_repositories/awesome-flutter/examples/flutterfire/packages/firebase_messaging/firebase_messaging_platform_interface
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:firebase_messaging_platform_interface/firebase_messaging_platform_interface.dart';
import 'package:firebase_messaging_platform_interface/src/utils.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  group('Utilities', () {
    test('convertToNotificationPriority()', () {
      expect(convertToAndroidNotificationPriority(1),
          isA<AndroidNotificationPriority>());
    });

    test('convertToAndroidNotificationVisibility()', () {
      expect(convertToAndroidNotificationVisibility(1),
          isA<AndroidNotificationVisibility>());
    });

    test('convertToIOSAuthorizationStatus()', () {
      expect(convertToAuthorizationStatus(1), isA<AuthorizationStatus>());
    });
  });
}
