public void EmptyShuffleBagException_Constructor() { // Act var result = new EmptyShuffleBagException(); // Assert Assert.IsInstanceOfType(result, typeof(InvalidOperationException)); }
public void EmptyShuffleBagException_MessageConstructor() { // Arrange var expected = "The shuffle bag must not be empty"; // Act var result = new EmptyShuffleBagException(expected); // Assert Assert.IsInstanceOfType(result, typeof(InvalidOperationException)); Assert.AreEqual(expected, result.Message); }