CQRSSample.Specs.StringExtensions.WillBe C# (CSharp) Method

WillBe() public static method

public static WillBe ( this x, string what ) : void
x this
what string
return void
        public static void WillBe(this string x, string what)
        {
            if (x != what)
                throw new AssertionException(string.Format("{0} != {1}", x, what));
        }
StringExtensions