blob: 7882e0f03e11a7a97832ad13ee141860da8f99ba [file] [log] [blame]
class Cat {
bool eatFood(String food) => true;
}
class MockCat implements Cat {
dynamic noSuchMethod(Invocation invocation) {}
}
class MockCat2 extends MockCat {
noSuchMethod(_);
}
class MockCat3 extends MockCat2 implements Cat {
bool eatFood(String food, {double amount});
}
class MockCat4 extends MockCat2 implements HungryCat {}
abstract class HungryCat {
bool eatFood(String food, {double amount, double yetAnother});
}
main() {}