public void ShouldReturnClassicalWhenTemperatureIsFreezing() { var songCommandHandler = new FakeSongsCommandHandler(); var style = songCommandHandler.GetStylePerTemperature(0); Assert.AreEqual("classical", style); }
public void ShouldReturnPopWhenTemperatureIsBetween15And30() { var songCommandHandler = new FakeSongsCommandHandler(); var style = songCommandHandler.GetStylePerTemperature(16); Assert.AreEqual("pop", style); }
public void ShouldReturnRockWhenTemperatureIsBetween10And14() { var songCommandHandler = new FakeSongsCommandHandler(); var style = songCommandHandler.GetStylePerTemperature(13); Assert.AreEqual("rock", style); }
public void ShouldReturnPartyWhenTemperatureIsAbove30() { var songCommandHandler = new FakeSongsCommandHandler(); var style = songCommandHandler.GetStylePerTemperature(34); Assert.AreEqual("party", style); }