Exemplo n.º 1
0
    public void ShouldUpdateScoreText()
    {
        scoreManager.AttachScoreText(scoreText);

        List <IBlock> blockList = CreateBlockListMock();

        scoreManager.OnDeleteBlocks(blockList, 1);

        scoreText.Received().UpdateText(Arg.Any <string>());
    }