Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (35 sloc) 958 Bytes
Test Case#1
if (accNumber != null)
{
accountStatus = true;
}
else
{
accountStatus = false;
}
return accountStatus;
Test Case#2
if (accNumber != null)
{
accountStatus = true;
}
else
if (String.IsNullOrWhiteSpace(accNumber))
{
throw new ArgumentException("Can't Pass Null account number");
}
else
{
accountStatus = false;
}
return accountStatus;
TestCase#3
if (String.IsNullOrWhiteSpace(accNumber))
{
throw new ArgumentException("Can't Pass Null account number");
}
else
{
accountStatus = true;
}
return accountStatus;
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.