blob: 403557e58963ffd3784821acd84a8424ec8a2b11 [file] [log] [blame]
// Copyright 2018 The Fuchsia 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:fuchsia_services/src/startup_context.dart'; // ignore: implementation_imports
import 'package:test/test.dart';
void main() {
group('StartupContext: ', () {
test('fromStartupInfo does not return null instance', () {
expect(StartupContext.fromStartupInfo(), isNotNull);
});
test('fromStartupInfo returns the same instance', () {
expect(
StartupContext.fromStartupInfo(), StartupContext.fromStartupInfo());
});
});
}