mirror of
https://github.com/appwrite/sdk-for-flutter.git
synced 2026-04-07 19:27:41 +00:00
20 lines
434 B
Dart
20 lines
434 B
Dart
import 'package:appwrite/models.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
void main() {
|
|
group('ExecutionList', () {
|
|
test('model', () {
|
|
final model = ExecutionList(
|
|
total: 5,
|
|
executions: [],
|
|
);
|
|
|
|
final map = model.toMap();
|
|
final result = ExecutionList.fromMap(map);
|
|
|
|
expect(result.total, 5);
|
|
expect(result.executions, []);
|
|
});
|
|
});
|
|
}
|