public void Setup() { _consoleMock = new Mock<IConsole>(); _sut = new CardGame(_consoleMock.Object); }
public void Ctor_NoConsole() { CardGame sut = null; Assert.Catch<ArgumentNullException>(() => sut = new CardGame(null)); Assert.IsNull(sut); }