Esempio n. 1
0
 public void ShouldFailOnSocksCommand()
 {
     Assert.Throws(typeof(NotSupportedDressException), () => _hotWeather.PutOnSocks());
 }
 public void ShouldFailOnSocksCommand()
 {
     _coldWeather.PutOnSocks();
     _dressValidator.Received().isValid(Dress.SocksOn);
     _writerMock.Received().Write(Constants.SOCKS);
 }