blob: 44bc8cf5ae162547c91e8a1f5273408a932589b7 [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_modular/lifecycle.dart';
import 'package:fuchsia_services/services.dart';
import 'package:test/test.dart';
void main() {
setUpAll(() {
final context = ComponentContext.createAndServe();
Lifecycle.enableLifecycleEvents(context.outgoing);
});
test('factory should return same instance', () {
expect(Lifecycle(), Lifecycle());
});
}