LCOV - code coverage report
Current view: top level - test-doubles/config - redfire_config.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 4 0.0 %
Date: 2022-03-03 12:15:14 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:firebase_core/firebase_core.dart';
       2             : import 'package:mockito/annotations.dart';
       3             : import 'package:mockito/mockito.dart';
       4             : import 'package:redfire/utils.dart';
       5             : 
       6             : import 'redfire_config.mocks.dart';
       7             : 
       8             : @GenerateMocks([RedFireConfig, FirebaseOptions])
       9             : class RedFireConfigTestDouble {
      10           0 :   static MockRedFireConfig get basic {
      11           0 :     var mockConfig = MockRedFireConfig();
      12           0 :     var mockOptions = MockFirebaseOptions();
      13             : 
      14           0 :     when(mockConfig.firebase).thenReturn(mockOptions);
      15             : 
      16             :     return mockConfig;
      17             :   }
      18             : }

Generated by: LCOV version 1.13