Skip to content

Commit 9d9f4bd

Browse files
author
Vladimir Minkin
committed
Return back tests for properties of observer: observer.notifyMethod and observer.notifyContext.
1 parent db0122b commit 9d9f4bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/Test_Observer.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ class Test_Observer {
2020

2121
// Make sure caller and callback were set
2222
expect(observer.getNotifyMethod(), isNotNull);
23+
expect(observer.notifyMethod, isNotNull);
2324
expect(observer.getNotifyContext(), isNotNull);
25+
expect(observer.notifyContext, isNotNull);
2426
});
2527

2628
test('Constructor minimum args', () {
@@ -32,6 +34,7 @@ class Test_Observer {
3234

3335
// Make sure callback method was set
3436
expect(observer.getNotifyMethod(), isNotNull);
37+
expect(observer.notifyMethod, isNotNull);
3538
});
3639

3740
test('setNotifyMethod()', () {

0 commit comments

Comments
 (0)