Bank.Tests.AccountTests.CreateNewForCustomer_EmptyAccount_ShouldThrowArgumentException C# (CSharp) Method

CreateNewForCustomer_EmptyAccount_ShouldThrowArgumentException() private method

        public void CreateNewForCustomer_EmptyAccount_ShouldThrowArgumentException()
        {
            //Arrange
            int customerId = Random.Next(1, int.MaxValue);
            string emptyAccountNumber = string.Empty;

            //Act + Assert
            Assert.That(() => Account.CreateNewForCustomer(customerId, emptyAccountNumber, AccountType.PaymentAccount), Throws.ArgumentException);
        }