mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 10:29:06 +02:00
23 lines
682 B
Dart
23 lines
682 B
Dart
import "package:arcane_framework/arcane_framework.dart";
|
|
import "package:flutter_test/flutter_test.dart";
|
|
import "package:mockito/mockito.dart";
|
|
|
|
class MockLoggingInterface extends Mock implements LoggingInterface {}
|
|
|
|
void main() {
|
|
setUpAll(() {
|
|
ArcaneFeatureFlags.I.reset();
|
|
ArcaneAuthenticationService.I.reset();
|
|
ArcaneTheme.I.reset();
|
|
});
|
|
|
|
group("Arcane", () {
|
|
test("services getter returns all core services", () {
|
|
final services = Arcane.services;
|
|
expect(services, contains(isA<ArcaneFeatureFlags>()));
|
|
expect(services, contains(isA<ArcaneAuthenticationService>()));
|
|
expect(services, contains(isA<ArcaneTheme>()));
|
|
});
|
|
});
|
|
}
|