public void Construction_OnFloorTouched() { ballBehaviourMock_.FloorTouched += Raise.Event <Action>(); starBehaviourMocks_[0].Received(1).IsVisible = true; ballBehaviourMock_.Reset(); soundEffectBehaviourMock_.Received(1).PlayFail(); }
private void OnFloorTouched() { foreach (var star in starBehaviours_) { star.IsVisible = true; } gainedStars_ = 0; ballBehaviour_.Reset(); goalBehaviour_.State = false; soundEffectBehaviour_.PlayFail(); }