public void EnsureNotNull_DoesNotThrowException()
        {
            // Arrange
            FakeDomainObject domainObject = new FakeDomainObject();
            Action           action       = () => domainObject.EnsureNotNull("foo");

            // Act & Assert
            action.Should().NotThrow <ArgumentException>();
        }
        public void EnsureNotNull_ThrowException()
        {
            // Arrange
            FakeDomainObject domainObject = null;
            Action           action       = () => domainObject.EnsureNotNull("foo");

            // Act & Assert
            action.Should().Throw <EmployeeDomainException>().WithMessage("foo");
        }