Index: pkg/unittest/mock.dart |
diff --git a/pkg/unittest/mock.dart b/pkg/unittest/mock.dart |
index 5e31f0300b6e59a9eef2e2f8e5f101d0dd22ebab..dd2ae539b7956b74ad9a9943f3fdd692c152558c 100644 |
--- a/pkg/unittest/mock.dart |
+++ b/pkg/unittest/mock.dart |
@@ -1280,7 +1280,7 @@ class Mock { |
} |
bool matchedMethodName = false; |
MatchState matchState = new MatchState(); |
- for (String k in _behaviors.getKeys()) { |
+ for (String k in _behaviors.keys) { |
Behavior b = _behaviors[k]; |
if (b.matcher.nameFilter.matches(method, matchState)) { |
matchedMethodName = true; |