You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abstract class C
{
int square(int x) <-- runtime error points here
=> x * x;
}
class MockC extends Mock
implements C
{}
test('1', ()
{
C c = MockC();
when(c.square(1)); <-- runtime error points here
});