﻿using Xunit;
using Xunit.Extensions;

namespace DotNext.RockAndRoll.UnitTests
{
    public class MusicianTestCase
    {
        [Theory]
        [InlineData("foo", "bar", "foo bar")]
        [InlineData("bar", "baz", "bar baz")]
        [InlineData("baz", "qux", "baz qux")]
        public void FullName_Always_ShouldReturnConcatenationOfNames(
            string firstName,
            string lastName,
            string expected)
        {
            var sut = new Musician(firstName, lastName);
            Assert.Equal(expected, sut.FullName);
        }
    }
}
﻿using Xunit;
using Xunit.Extensions;

namespace DotNext.RockAndRoll.UnitTests
{
    public class MusicianTestCase
    {
        [Theory]
        [InlineData("foo", "bar")]
        [InlineData("bar", "baz")]
        [InlineData("baz", "qux")]
        public void FullName_Always_ShouldReturnConcatenationOfNames(
            string firstName,
            string lastName)
        {
            var sut = new Musician(firstName, lastName);
            Assert.Equal(firstName + " " + lastName, sut.FullName);
        }
    }
}
Add some robustness to FullName test
Add some robustness to FullName test
