Beispiel #1
0
        public void When_And_is_called_the_same_EnsureArg_is_returned()
        {
            // Arrange.
            object value = new object();

            IEnsureArg <object> ensureArg = Ensure.Arg(value);

            // Act.
            IEnsureArg <object> returnedEnsureArg = ensureArg.And();

            // Assert.
            ensureArg.Should().BeSameAs(returnedEnsureArg);
        }