Skip to content

Commit

Permalink
Test for Event.doctorValidatorResult constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasyishak committed Oct 19, 2023
1 parent ded1068 commit ea3e575
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pkgs/unified_analytics/test/event_test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. 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:test/test.dart';
import 'package:unified_analytics/unified_analytics.dart';

void main() {
test('Event.doctorValidatorResult constructed', () {
expect(
() => Event.doctorValidatorResult(
validatorName: 'validatorName',
result: 'result',
partOfGroupedValidator: false,
doctorInvocationId: 123,
statusInfo: 'statusInfo',
),
returnsNormally);
});
}

0 comments on commit ea3e575

Please sign in to comment.