public void 換できる() { const int p = 100; var points = pointFactory.Create(p); score.Set(points); var expected = "Count: " + p; var actual = translator.Translate(score).ScoreText; Assert.That(actual, Is.EqualTo(expected)); }
public void Render(IScoreEntity scoreEntity) { var structure = translator.Translate(scoreEntity); presenter.Render(structure); }