public void ShouldFailOnJacketCommand() { Assert.Throws(typeof(NotSupportedDressException), () => _hotWeather.PutOnJacket()); }
public void ShouldFailOnJacketCommand() { _coldWeather.PutOnJacket(); _dressValidator.Received().isValid(Dress.JacketOn); _writerMock.Received().Write(Constants.JACKET); }