test: removed beginContact group

pull/234/head
alestiago 3 years ago
parent d91bb9c6c4
commit c3d8471a04

@ -23,10 +23,8 @@ void main() {
);
});
group(
'beginContact',
() {
flameTester.test('emits onBallContacted when contacts with a ball',
flameTester.test(
'beginContact emits onBallContacted when contacts with a ball',
(game) async {
final behavior = AlienBumperBallContactBehavior();
final bloc = MockAlienBumperCubit();
@ -43,7 +41,6 @@ void main() {
behavior.beginContact(MockBall(), MockContact());
verify(alienBumper.bloc.onBallContacted).called(1);
});
},
);
},

@ -23,10 +23,8 @@ void main() {
);
});
group(
'beginContact',
() {
flameTester.test('emits onBallContacted when contacts with a ball',
flameTester.test(
'beginContact emits onBallContacted when contacts with a ball',
(game) async {
final behavior = DashNestBumperBallContactBehavior();
final bloc = MockDashNestBumperCubit();
@ -43,7 +41,6 @@ void main() {
behavior.beginContact(MockBall(), MockContact());
verify(alienBumper.bloc.onBallContacted).called(1);
});
},
);
},

@ -23,10 +23,8 @@ void main() {
);
});
group(
'beginContact',
() {
flameTester.test('emits onBallContacted when contacts with a ball',
flameTester.test(
'beginContact emits onBallContacted when contacts with a ball',
(game) async {
final behavior = GoogleLetterBallContactBehavior();
final bloc = MockGoogleLetterCubit();
@ -43,7 +41,6 @@ void main() {
behavior.beginContact(MockBall(), MockContact());
verify(googleLetter.bloc.onBallContacted).called(1);
});
},
);
},

@ -23,10 +23,8 @@ void main() {
);
});
group(
'beginContact',
() {
flameTester.test('emits onBallContacted when contacts with a ball',
flameTester.test(
'beginContact emits onBallContacted when contacts with a ball',
(game) async {
final behavior = SparkyBumperBallContactBehavior();
final bloc = MockSparkyBumperCubit();
@ -43,7 +41,6 @@ void main() {
behavior.beginContact(MockBall(), MockContact());
verify(sparkyBumper.bloc.onBallContacted).called(1);
});
},
);
},

Loading…
Cancel
Save