Skip to content

Commit

Permalink
Return back tests for properties of observer: observer.notifyMethod a…
Browse files Browse the repository at this point in the history
…nd observer.notifyContext.
  • Loading branch information
Vladimir Minkin committed Aug 13, 2023
1 parent db0122b commit 357356b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/Test_Observer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ class Test_Observer {

// Make sure caller and callback were set
expect(observer.getNotifyMethod(), isNotNull);
expect(observer.notifyMethod, isNotNull);
expect(observer.getNotifyContext(), isNotNull);
expect(observer.notifyContext, isNotNull);
});

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

// Make sure callback method was set
expect(observer.getNotifyMethod(), isNotNull);
expect(observer.notifyMethod, isNotNull);
});

test('setNotifyMethod()', () {
Expand All @@ -43,6 +46,7 @@ class Test_Observer {

// Make sure callback method was set
expect(observer.getNotifyMethod(), isNotNull);
expect(observer.notifyMethod, isNotNull);
});

test('setNotifyContext()', () {
Expand Down

0 comments on commit 357356b

Please sign in to comment.